Copy link to clipboard
Copied
Hi,
I've been trying this for quite some time, and still haven't found any answers to it.
Basically I produce a PDF map file, which has map windows one over the other (i.e. main window and inset - say showing where the main window is within australia).
With all these layers included, drawing the PDF page is slow (it adds the content layer by layer), adds unnecessary imagery (makes it bigger than it needs), and includes unwanted information making it look sloppy. What I need is to be able to merge so that only the visible layers are still there. Note that there are no layers in the PDF layers panel. But there is layered (or overlapping) imagery in the PDF.
There must be a way to do this, surely? I would attach the map but can't see an attach file option here.
So, I've tried:
- redact - this works (remove overlapping objects), but makes the whole page rasterized, the text not selectable and of crappy quality
- optimise - especially selecting transparency: high resolution (doesn't work), Discard objects: detect and merge image fragments (doesn't work), Discard user data: Discard hidden layer content and flatten visible layers & discard all object data (doesn't work) - all of these improve things, but don't fix the basic issue
- pre-flight - can't find anything here that seems to work
- tried javascript - this.flattenPages() (doesn't work).
Does anyone know of a way to get this to work? Must be quite a common experience.
Cheers
Copy link to clipboard
Copied
Use Tools > Send & Track and post the link.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
The display of the document is not slow. What operating system do you use? What version of Adobe Acrobat?
Copy link to clipboard
Copied
It doesn't really matter - the point is that it can be slow on some computers (and yes, it is slow to redraw on my computer here, also on remote, and makes a PDF document look sloppy). What I'm trying to find is a way to flatten the visible raster layers so it won't draw them one at a time, but in a way that doesn't just lose the text quality of vector graphics and give me one big poor quality raster, or a very big file to get decent text quality.
But I'm on win 7, acrobat dc latest version, i7.
Cheers
Copy link to clipboard
Copied
Try this:
Copy link to clipboard
Copied
Thanks,
Tried that - yes it works in flattening content, but ends up without the vector text. It's useful, but not particularly nice, particularly for small text.
I was hoping for some object flattening procedure somewhere - a plugin, javascript code, etc. that anyone's aware of?
Cheers
Copy link to clipboard
Copied
There is no way in Acrobat to merge or simpify vector content. These are not actually layers in PDF terms, and PDF layers are just labels on content: flattening just removes the labels, it doesn't merge the content.
If you have a complicated vector file which takes a long time to draw you have to make a PDF with less vectors in the first place.
Copy link to clipboard
Copied
Ok, thanks - so not for vector content.
What about for raster content then? If it was just raster then it would be probably ok. Still seems a little strange that Acrobat can't figure out a way to simplify a PDF to a WYSIWYG option.
Cheers
Copy link to clipboard
Copied
Never heard of anyone trying to implement this enormously challenging task for PDF. Certainly there is nothing built into Acrobat and it would be impossible with JavaScript.
This drawing one at a time: does it happen with the local file or only in a browser? Which browser(s)?
Copy link to clipboard
Copied
Interestingly, there are at least four popular definitions of the word "flatten" as applied to forms:
* Make form fields part of the document
* Make transparency opaque
* Remove layer labels
* Rasterise pages
It seems you want a fifth!
Copy link to clipboard
Copied
The term 'flatten' is actually exactly what I (and many others) want to do, and quite simple in terms of what's needed. Take the various layers and flatten them so that there aren't hidden layers, cropped images, etc. - one layer remaining, perhaps with vector text over the top but that's fine.
I realise that acrobat doesn't see the objects as layers, but that's what they are in reality.
The way i see it, acrobat can figure out how to display the PDF with all those layers, so I would think there should be a way to rectify it into a more rationale page somehow?
Of course I am hearing everyone saying there is nothing like this. Is there any third party software out there?
Note, in mucking around with the source software I managed to get the below which is what i'm after (see the difference between the two, viewing and by going to 'edit' and deleting objects in both), but I have this same problem with other PDFs and would still like to try to find a solution:
Cheers
Copy link to clipboard
Copied
PDF files are collections of 'page objects', which each have to be one of a set of specific types (text, vector path, bitmap, etc) as defined in the ISO standard. What you're talking about goes against one of the main purposes of PDF; to optimize quality and file efficiency by rendering each of those object types through different client software routines, and re-using objects as much as is possible.
If you want only two base objects, 'text' and 'everything else', then as explained earlier you will have to export the document without the text as a single image, re-import it and save the result to PDF. Even then, the image will usually be divided into sections for optimal compression.
Copy link to clipboard
Copied
Hi,
In searching I've come across a number of people with the same issue. It's not really that surprising I think. I realise that acrobat doesn't think of the different objects as layers but that is, in reality, what they are, and a tool to flatten them so that hidden, cropped, etc. content isn't unnecessarily saved in the document is something that a lot of people would use. Reduce file size, make the page draw better (note: it occurs on all systems, local or network, faster or slower depending on how big or complicated the file is. Just change my drawing between full page and fit width and you'll see what i mean).
Cheers
Find more inspiration, events, and resources on the new Adobe Community
Explore Now