Hi,

I've a problem embedding PNGs within a PDF file. When trying to embed PNGs
which are created (for example) in Adobe Photosop (using Metadata: All) FOP
throws an error:

Reason: org.apache.xmlgraphics.image.loader.ImageException: I/O error while
extracting image metadata: Error reading PNG metadata (see position 41:110)

It seems the problem is due to "iTXt" metadata entries - as soon as there is
any "iTXt" metadata entry in the PNG the error is thrown. When I change
"iTXt" to "tEXt" FOP creates the PDF and embeds the image

I've attached a demo .fo and .png file

http://old.nabble.com/file/p32875848/itxt.zip itxt.zip 

Thanks,
Michael

-- 
View this message in context: 
http://old.nabble.com/Error-when-embedding-PNG-with-iTXt-metadata-%28text-international%29-tp32875848p32875848.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to