Pseudo image from rose change
Posted: 2014-07-03T06:47:36-07:00
Hi,
Not sure if this is a bug or just change of behaviour, but it looks like creating an image from the the built in rose canvas now returns a lower quality image.
e.g. Running the command "./convert rose: /temp/rose_check.png" generates an image that has dithering on it (https://s3-eu-west-1.amazonaws.com/exte ... _check.png ) compared to the full quality image that is generated for the examples page http://www.imagemagick.org/Usage/canvas/rose.png
The change can also be seen programmatically. The code below outputs a file named roseTest.PPM.png with ImageMagick 6.8.8.9 but outputs a smaller filer with the name roseTest.GIF.png with ImageMagick 6.8.9.3
Not sure if this is a bug or just change of behaviour, but it looks like creating an image from the the built in rose canvas now returns a lower quality image.
e.g. Running the command "./convert rose: /temp/rose_check.png" generates an image that has dithering on it (https://s3-eu-west-1.amazonaws.com/exte ... _check.png ) compared to the full quality image that is generated for the examples page http://www.imagemagick.org/Usage/canvas/rose.png
The change can also be seen programmatically. The code below outputs a file named roseTest.PPM.png with ImageMagick 6.8.8.9 but outputs a smaller filer with the name roseTest.GIF.png with ImageMagick 6.8.9.3
Code: Select all
<?php
$im = new Imagick('magick:rose');
$imageFormat = $im->getImageFormat();
$im->setImageFormat ('png');
$im->writeimage("./roseTest.".$imageFormat.".png");