Thêm tệp đính kèm
Mang các tệp khác bên trong một PDF.
Công cụ này chạy hoàn toàn trong trình duyệt của bạn. Tệp của bạn không bao giờ được tải lên, và bạn có thể tự kiểm chứng điều đó trong tab mạng của trình duyệt. Tự kiểm chứng: mở tab mạng của trình duyệt và theo dõi. Bạn sẽ thấy một yêu cầu nhỏ hỏi xem bạn còn tác vụ nào không - một tên công cụ và một mã băm, không bao giờ là tệp.
Công cụ này làm gì
A PDF can carry other files inside it, the way an email carries attachments. This adds them: the first PDF you drop is the carrier, and every other file you add is embedded into it. The pages are untouched - an attachment is stored beside the document's content, listed in the reader's attachments panel, and extracted with a double-click.
Reach for it when the document and its evidence should not be separated: the spreadsheet behind a report's figures, the raw measurements behind a chart, the signed original behind a scan, a set of photographs behind an inspection sheet. It is also a way to get one file past a system that accepts a PDF and nothing else.
Cách hoạt động
- Drop the carrier PDF onto this page first, then add the files to embed - up to 20 in one pass.
- Give any attachment a description if its file name does not explain it. Readers show that line next to the file.
- Decide whether to keep the attachments already in the document or clear them first.
- Press Attach.
- Open the result and check the attachments panel before you send it - the pane is called Attachments in Acrobat and Preview, and it is where the recipient will look.
Attached files are stored whole and compressed, so a 4 MB spreadsheet makes the PDF roughly 4 MB larger - less if it compresses well, never smaller. That is the honest trade for having one file instead of two, and it is worth checking against whatever mailbox limit the document has to pass. Compress PDF shrinks the pages; it will not shrink what you have embedded.
Each embedded file is written with its uncompressed size and modification date, so Acrobat's panel shows real numbers rather than "0 bytes, unknown date", and with both an old-style and a Unicode name so an accent or a non-Latin character in a file name survives. Each one is also registered as an associated file, which is what makes a PDF 2.0 or PDF/A-3 reader treat it as belonging to the document rather than as loose baggage.
The list of embedded files is rewritten in sorted order every time rather than appended to. The format requires that order, and readers that search the list rather than walking it return nothing at all from an unsorted one - which is how an attachment ends up in the file and invisible in the reader. A name that clashes with an existing attachment becomes "report (2).pdf" rather than replacing it silently.
This is also, plainly, how a PDF becomes a delivery mechanism for something unpleasant. The same feature is what Sanitise PDF exists to strip out, and a recipient's mail gateway may well remove an attachment or quarantine the whole document. If the attached file is essential, say so on the page as well, so the reader knows to look for it.
Every file you add is read from disk in your browser and written into the PDF locally. Nothing is uploaded - not the carrier, and not the possibly rather more sensitive spreadsheet you are attaching to it.
Công cụ này không làm được gì
- Reader support varies. Acrobat and Preview show attachments in a side panel, some readers hide them behind a menu, and a few browser viewers ignore them entirely - so a document whose attachment is essential should say so on the page.
- The attached bytes are added to the PDF, so the result is about the size of the original plus the size of everything you attach. Attachments are also frequently stripped by mail gateways and document management systems.
Câu hỏi thường gặp
- Tôi có thể đính kèm những loại tệp nào?
- Bất kỳ loại nào. Bảng tính, hình ảnh, tệp CSV, tệp ZIP, tài liệu Word, một PDF khác - định dạng không đặt hạn chế nào về nội dung của một tệp nhúng. Bạn có thể thêm tối đa 20 tệp trong một lần, và công cụ sẽ cảnh báo chứ không từ chối nếu một tệp đủ lớn để gây vấn đề cho bộ nhớ thiết bị của bạn.
- Người tôi gửi cho có thấy tệp đính kèm không?
- Trong Acrobat và Preview thì có - có một bảng tệp đính kèm hay biểu tượng kẹp giấy ở bên cạnh. Một số trình đọc đặt nó sau một menu, và vài trình xem trong trình duyệt bỏ qua hoàn toàn các tệp nhúng, chỉ hiển thị các trang và không gì khác. Vì vậy, hãy nhắc tới tệp đính kèm trong chính tài liệu nếu nó quan trọng, thay vì trông chờ người nhận nhận ra một bảng.
- PDF của tôi sẽ lớn thêm bao nhiêu?
- Xấp xỉ kích thước của thứ bạn đính kèm. Các byte được nén khi đưa vào, nên một tệp CSV nhiều chữ có thể nhỏ đi đáng kể còn một JPEG hay một ZIP thì không nhỏ đi chút nào. Không có gì về các trang thay đổi, nên chạy Nén PDF sau đó sẽ giảm tài liệu nhưng không giảm tệp đính kèm.
- Làm sao để bỏ các tệp đính kèm trong một tệp ai đó gửi cho tôi?
- Làm sạch PDF gỡ bỏ các tệp nhúng cùng với những thứ khác mà một PDF có thể mang mà không phải là trang - JavaScript, hành động khởi chạy, phương tiện nhúng. Nếu bạn chỉ muốn đổi các tệp đính kèm sang các tệp khác, hãy thả tệp vào đây và bật tùy chọn thay thế thứ đã nhúng.
- Các tệp tôi đính kèm có được tải lên không?
- Không. Cả tệp mang lẫn mọi thứ bạn đính kèm đều được đọc cục bộ và gộp trong một Web Worker trong trình duyệt của bạn. Đây là một trong những công cụ mà điều đó quan trọng nhất trên thực tế, vì tệp được đính kèm thường là dữ liệu nền mà PDF được viết ra để tóm tắt.