Loading...

magick-developers@imagemagick.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [magick-developers] converting PNG to PS and PDF Giuseppe Ghibò Sat Sep 02 12:13:09 2006

[EMAIL PROTECTED] wrote:
Under 6.2.8.1 instead the page has a size of zero.


We can reproduce this problem and will have a fix in ImageMagick 6.2.8-3 Beta
within a day or two.  Thanks for the problem report.

I tried 6.2.8-3, with the same examples as before, but I get, e.g.:

convert -page A4 -units PixelsPerInch -density 300 test300.png test300.ps

%%BoundingBox: 0 0 143 143
%%HiResBoundingBox: 0 0 142.8 143
%%PageBoundingBox: 0 0 143 143

Where the number 143 is calculated from? It corresponds to 1.98 inches
instead of 1 inch (300 pixels at 300 dots per inch should be 1 inch). Furthermore in the HiresBoundingBox there should be some rounding problems. Using the 1200x1200 pixels
picture, the size in the PostScript page would remain the same, i.e.:

%%BoundingBox: 0 0 143 143
%%HiResBoundingBox: 0 0 142.8 143

instead of 4 inches, i.e. 288 288 big points. Is this the right behaviour?

Thanks
Bye
Giuseppe.
_______________________________________________
Magick-developers mailing list
[EMAIL PROTECTED]
http://studio.imagemagick.org/mailman/listinfo/magick-developers