Massive differences in rendering between different versions
Posted: 2010-06-13T21:59:19-07:00
I have a server in production using 6.5.6.4 and everything is going very well. In order to deal with some very high demands on our server, which happens only occasionally, we are going to keep a presence on Amazon's EC2 to be able to scale up and down cost effectively.
So I have had to build a VM from scratch here. I already got the latest version 6.6.2-4 installed and I can't go back to 6.5.6.4, I TRIED.
Everything we do is command line. No API.
1) It seems that all of geometry is offset upwards and towards the left. (I could change my offsets)
2) All of the text is now tighter together. (I could live with that)
3) The rounded borders I had created before now look like terrible. (Can't live with the complaints)
Here is an example of the code I am using to create the rounded borders:
What the code creates is really different between the versions:
Good Image (nice rounded borders that are faded and 3d like. Similar to pillow emboss in Photoshop):

Bad Image (sides are not faded at all and there seems to be an aborted attempt at fading the edges):

Any idea as to what has changed between the versions? Or why I can't install the older version over the newer one? I would prefer to get it working with the new version instead of being held hostage to old code. Not a good strategy.
Your ideas and help is greatly appreciated! Ohh, and thank you very much to the creators of and the contributors to ImageMagick.
So I have had to build a VM from scratch here. I already got the latest version 6.6.2-4 installed and I can't go back to 6.5.6.4, I TRIED.
There is just massive differences in the rendering of the images between these two versions, all of it for the worse. Quite frankly it reminds me of trying to code CSS and getting it to work right with IE/Firefox at the same timecoders/png.c:9090: warning: format `%lu' expects type `long unsigned int', but argument 6 has type `unsigned int'
coders/png.c:9093: warning: format `%lu' expects type `long unsigned int', but argument 6 has type `unsigned int'
make[1]: *** [coders/coders_png_la-png.lo] Error 1
make[1]: Leaving directory `/usr/src/imagemagick/ImageMagick-6.5.6-10'
make: *** [all] Error 2

Everything we do is command line. No API.
1) It seems that all of geometry is offset upwards and towards the left. (I could change my offsets)
2) All of the text is now tighter together. (I could live with that)
3) The rounded borders I had created before now look like terrible. (Can't live with the complaints)
Here is an example of the code I am using to create the rounded borders:
Code: Select all
/usr/bin/convert example.png -quality 100 \( +clone -threshold -1 -draw 'fill black polygon 0,0 0,10 10,0 fill white circle 10,10 10,0' \( +clone -flip \) -compose Multiply -composite \( +clone -flop \) -compose Multiply -composite \) +matte -compose CopyOpacity -composite example_prepared.png
/usr/bin/convert example.png -quality 100 -bordercolor linen -border 6x6 example_prepared.png
/usr/bin/convert example_prepared.png -quality 100 \( +clone -threshold -1 -draw 'fill black polygon 0,0 0,15 15,0 fill white circle 15,15 15,0' \( +clone -flip \) -compose Multiply -composite \( +clone -flop \) -compose Multiply -composite \) +matte -compose CopyOpacity -composite example_prepared.png
/usr/bin/convert example_prepared.png -quality 100 -matte -virtual-pixel transparent -channel A -blur 0x3 -level 0,50% +channel example_prepared.png
/usr/bin/composite -quality 100 -gravity Center -geometry +0+35 example_prepared.png final.jpg final.jpg
Good Image (nice rounded borders that are faded and 3d like. Similar to pillow emboss in Photoshop):

Bad Image (sides are not faded at all and there seems to be an aborted attempt at fading the edges):

Any idea as to what has changed between the versions? Or why I can't install the older version over the newer one? I would prefer to get it working with the new version instead of being held hostage to old code. Not a good strategy.
Your ideas and help is greatly appreciated! Ohh, and thank you very much to the creators of and the contributors to ImageMagick.