Have looked for help by searching both the fora and the documentation for "layer", "layers", "visible", and "visibility" with no hits, so I'm starting a new thread.
Don't know if this is a bug (implementation error) or if it has to do with features not yet implemented in PDFsharp, but:
I used the split tool to separate an N-page PDF into N single pages. In a couple instances, layered images in the original were not rendered correctly in the output. On comparing the original and the PDFsharp output pages, I see that the original image is composed of a number of layers, some of which are not visible (they are "unchecked" in the layers table of contents by default when the PDF is loaded). In the output version created by PDFsharp, there are no layers - just a single image - and that image appears to be a composite of *all* of the input layers, regardless of their default visibility.
For my current application, I could live with the merging of all of the layers - I don't need the active layers in the output - but it's very important that the output image matches the (default) input image - in other words, the output image should be the composite of just the default input layers, not all of them.
What are the chances that the correct processing of "just the visible layers" could be implemented, if not a full-blown replication of the image layers?
I can send sample input (47Mb) and output (550kb) if it would help.
Many thanks,
Chris
|