Looks like an issue with transparency. Try to add an image mask to add
transparency.

Regards,
 Dom

On Wed, Apr 17, 2013 at 12:32 PM, Christian Sakowski <
christian.sakow...@heubach-media.de> wrote:

> Hi,
>
> it seems, that PNG does not work at all. JPEG works very well!
> I had tried two different PNG's to add them to a PDF.
> I use the "LoadFromPng" method to load a PNG from the HD. Attached is a
> sample png ("test.png").
>
> "test_podofo.pdf" is the result. See attachment! The PNG does not looks
> good :-(
> The two lines crossed through the page are from me (i added this for
> testing).
>
> Here is the (simple) code i use.
>
> PoDoFo::PdfImage podofo_image(document,0);
> podofo_image.LoadFromPng(filename);
> painter->DrawImage(…
>
> Any thoughts?
> Thanks.
> --
>
> Grüße/Regards,
> [heubach-media] | Christian Sakowski
> christian.sakow...@heubach-media.de
> iChat/AIM: SakowskiF
> Tel: +49/(0)40/52 10 59-23
>
>
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to