xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Uckelman <uckel...@nomic.net>
Subject Re: SVG to PNG transcoding and phaysical image sizes
Date Tue, 15 May 2012 17:05:47 GMT
Thus spake Werner Guttmann:
> Hi,
> 
> in one of our projects, we are currently using the PNGTranscoder to 
> produce a PNG from an SVG, and everything works just fine (in terms of 
> expected output, content, ...). As part of some recent testing, we came 
> to realize that the PNGs produced are of differing physical byte sizes 
> on different machines.
> 
> E.g. a PNG image of dimension 1620x1118 px one one box has a size of 
> 10,836 bytes, whereas a second server produces 10,864 bytes worth of PNG 
> from the very same SVG (using the very same binary and thus process). Is 
> this something we should be expecting, and if so, why is this the case ?

That's not many bytes difference. Have you compared the PNGs in a hex
editor? It could be that one of the metadata fields has some system-
specific information in it.
 
-- 
J.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message