We are an engineering company that uses AutoCAD for production of plans. Our current process of plotting PDFs uses the lines merge function which puts transparency in our PDFs. Our clients have trouble plotting our PDFs due to the “flattening” process.
Basically, we now need to remove the transparency. So, what settings would you recommend to accomplish this and keep the resolution (most important) and file size (less important) in the same ballpark as the original drawing.
Can we use PDFTron Flattener or PDFNet for this?
----
A:
If you only want to remove
transparency and may be fine with rasterizing PDF, the simplest option would be to use PDFDraw (see http://www.pdftron.com/pdfnet/samplecode.html#PDFDraw)
to rasterize PDF pages with transparency and replace the existing pages with
rasterized version (e.g. see AddImage sample for how to create a PDF page from
a Bitmap).
For discussion on how to determine if a PDF has transparency, please see:
https://groups.google.com/d/topic/pdfnet-sdk/Ke75f9qBGYc/discussion
That said, there are multiple methods used to control Flattener:
Regarding pdftron.PDF.Flattener if you were dealing with primarily text based document ‘Flattener.FlattenMode.e_simple’ option (http://www.pdftron.com/pdfnet/docs/PDFNetC/d1/d35/classpdftron_1_1_p_d_f_1_1_flattener.html) would simply reduce page representation to text and a background image. However since you may be dealing with vector drawings this would not be very helpful since most pages would simply turn into images.