Thanks Chris,

You are right.It's the Firefox viewer. When I use another browser it's 
showing correct. Even when in the Firefox viewer when showing wrong and 
I save the PDF and than open it in the PDF viewer native, it shows correct.

Marc Campforts

On 24/06/2013 23:47, chris.e...@depi.vic.gov.au wrote:
> Marc
>
> What application are you using to view the pdf? The viewer now built
> into Firefox seems to have problems with images in encrypted documents -
> while Acrobat (and other viewers) have no such problems.
>
> I create documents with png images, rather than gif. When I changed the
> images from 8-bit to 24-bit colour the Firefox viewer displayed the
> images correctly. This may also work with gif images.
>
> Chris Egan
>
>
>
> From: "iText Mailing List" <i...@1t3xt.info>
> To: itext-questions@lists.sourceforge.net, "Marc Campforts"
> <marc.campfo...@4st.be>,
> Date: 25/06/2013 01:53 AM
> Subject: Re: [iText-questions] Pdf Encryption and Gif files failing
> ------------------------------------------------------------------------
>
>
>
> On Mon, 24 Jun 2013 17:35:01 +0200, Marc Campforts <marc.campfo...@4st.be>
> wrote:
>
>  > I have a pdf with a transparent gif in it.
>  > When I set encryption with
>  > Writer.setEncryption(null, null, PdfWriter.ALLOW_PRINTING |
>  > PdfWriter.ALLOW_COPY, PdfWriter.STANDARD_ENCRYPTION_128);
>  > the gif is showing with wrong colors.
>
> Also: it's not because you're in Belgium that the rest of the world knows:
> 1. which gif you're adding,
> 2. how you're adding it,
> 3. what goes wrong.
>
> In short: how can you expect that anyone will look at your problem if you
> don't provide a http://sscce.org/?
>


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to