Composite: Differences in defaults/transparency between v6 and v7? [Solved]
Posted: 2015-02-06T17:30:22-07:00
I am developing an application that composes multiple images over a background. The images are supplied to me and are CMYK 8/1-bit TIFFs. I am generating two test images using the following commands:
I'm using the same command with both versions, but the output between v6 and v7 is different. In particular, the anti-aliasing/transparency in the original "Price" file are not being respected, leaving the output looking jagged. Here are two images that show what I mean.
This has three parts. From top to bottom: 1) a small detail from the original overlay, which is "$ 2.99" in black anti-aliased on a transparent background; 2) the composite output from IM 6.9.0; 3) the composite output from IM 7. (You'll have to zoom in to see fine detail.)
The second image shows another detail from the output, with v6 on top and v7 on bottom.
As you can see in my command lines, I have not done anything differently other than change versions. (IM 7 reports its version as Version: ImageMagick 7.0.0-0 Q16 x64 2015-01-09). Is this a bug, or just some change in defaults between the versions? If it is some change in defaults, what can I do to get the same output in IM 7?
(The reason I'm even looking at IM 7 is because this project really uses Magick.NET, which links in version 7. I reverted to trying my example using straight-up command-line ImageMagick so I could determine where the discrepancy was coming from, and it appears to be IM, not Magick.NET. I spent a lot of time trying different options and reading up on the different compose options, but I have found nothing so far.)
EDIT: Mark subject solved
Code: Select all
set path=d:\programs\ImageMagick-6.9.0-4
composite "Can 3x2Sign Price.tif" "Can 3x2Sign.tif" -geometry +21+175 im.tif
set path=d:\programs\ImageMagick-7.0.0-Q16
composite "Can 3x2Sign Price.tif" "Can 3x2Sign.tif" -geometry +21+175 im7.tif
This has three parts. From top to bottom: 1) a small detail from the original overlay, which is "$ 2.99" in black anti-aliased on a transparent background; 2) the composite output from IM 6.9.0; 3) the composite output from IM 7. (You'll have to zoom in to see fine detail.)
The second image shows another detail from the output, with v6 on top and v7 on bottom.
As you can see in my command lines, I have not done anything differently other than change versions. (IM 7 reports its version as Version: ImageMagick 7.0.0-0 Q16 x64 2015-01-09). Is this a bug, or just some change in defaults between the versions? If it is some change in defaults, what can I do to get the same output in IM 7?
(The reason I'm even looking at IM 7 is because this project really uses Magick.NET, which links in version 7. I reverted to trying my example using straight-up command-line ImageMagick so I could determine where the discrepancy was coming from, and it appears to be IM, not Magick.NET. I spent a lot of time trying different options and reading up on the different compose options, but I have found nothing so far.)
EDIT: Mark subject solved