Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

What is "flatten" for PDF files and why?

Writer Sebastian Wright

When I tried to print certain PDF files, it take a bit time to "flatten" the file.

  1. What is flattening a PDF file?
  2. Why do we (machine) need to flatten it before printing?
  3. If I save a flattened file, what do I lose?
  4. What affects the time to flatten a PDF file? (CPU/GPU process/RAM?)

Could someone briefly explain this?

Thanks!

3

1 Answer

Nevertheless of the comment about own research, in the context of PDF, "flattening" has several meanings. In general, what it does is consolidate everything into the imaging level, creating a simple PDF.

Main meanings of "flattening":

• In the context of forms and annotations in general: Rendering the annotations and/or form fields according to their visibility properties on the imaging level, and removing them. With that, you remove active elements, and form fields are no longer fillable, and their contents is no longer accessible.

• In the context of prepress/printing: Rendering sections where transparent objects are covering other contents. Only output devices which have a RIP understanding PDF 1.4 (or even 1.5) can render transparencies properly. When PostScript is involved, or the RIP can not understand PDF 1.4 or newer, transparent elements will be rendered opaque. The transparency flattening function (in Acrobat X and newer) will render (essentially rasterize) such areas according to the settings in Acrobat. Of course, you will lose the vector information, but at least, the page can be properly printed.

• In the context of OCGs (Optional Content Groups, also nicknamed as "layers"): transferring all elements of visible OCGs to the imaging level, and discarding all OCGs.

That said, unless you know the context, it can be difficult to come up with the exact answers.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy