[oXygen-user] Strange error while transforming docbook 5 to pdf

Ben McGinnes ben at adversary.org
Wed Feb 14 03:20:15 CST 2018


On Wed, Feb 14, 2018 at 09:02:49AM +0200, Oxygen XML Editor Support (Radu Coravu)  wrote:
> Hi,
> 
> Indeed we've had problems reported in the past with certain PNGs
> causing out of memory errors when read with the default Java
> libraries:
> 
> https://www.oxygenxml.com/forum/post20919.html
> 
> Ideally you could identify that particular image which causes the
> problem and use a free image editing utility like GIMP to open and
> save it again.  Maybe this will fix any problems it may have.

Depending on what the source of the image is, one thing to be wary of
is ever increasing amounts of metadata being included with them.  Some
programs are notorious for adding text for every single edit ever made
(insert pointed look at the entire Adobe suite here).  Sometimes that
metadata can do strange things.

It might be worth grabbing EXIFTool and stripping the entire lot out.

This command will display all the metadata:

exiftool -all filename.png

And this command will clear as much as can be stripped from it as
possible:

exiftool -all= filename.png


Regards,
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20180214/cac4ca01/attachment.sig>


More information about the oXygen-user mailing list