PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index PDFsharp - moved to http://forum.pdfsharp.net/
Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

layers merged, and layer visibility not respected

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Bug Reports - moved to http://forum.pdfsharp.net/
View previous topic :: View next topic  
Author Message
Chris Duncan



Joined: 12 Nov 2007
Posts: 4

PostPosted: Thu Jan 24, 2008 5:58 pm    Post subject: layers merged, and layer visibility not respected Reply with quote

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
Back to top
View user's profile Send private message
alin_edric



Joined: 06 Oct 2008
Posts: 3

PostPosted: Mon Oct 06, 2008 10:26 am    Post subject: Reply with quote

Hi Chris,

Can you please tell me how do you determine with pdfSharp the visibility of an object ?

Regards,

Alin
Back to top
View user's profile Send private message Send e-mail
Chris Duncan



Joined: 12 Nov 2007
Posts: 4

PostPosted: Mon Oct 06, 2008 12:31 pm    Post subject: Reply with quote

Hi Alin,

I never received a response to my post, so I don't know a lot more about how to query or control layer visibility in PDFsharp. In trying to understand the problem I was having, I searched in the PDFsharp forums and documentation, but didn't find anything useful. It's my impression that PDFsharp has not yet implemented anything to do with layers in PDF files, but I could be wrong. I have not examined the source code... perhaps an answer could be found there, since it doesn't appear in the other places (NB: it has been almost a year since I posted on this issue and I have not looked more recently -- things could have changed between then and now).

Sorry I can't be more helpful. Cheers,

Chris
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Bug Reports - moved to http://forum.pdfsharp.net/ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own YouTube Clone

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com