Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
hknight
Posts: 32 Joined: 2007-08-02T10:16:15-07:00
Contact:
Post
by hknight » 2013-09-20T11:33:57-07:00
I have two identical images, saved in different formats:
JPEG Image:
(Click to download)
TIFF Image:
(Click to download)
Code: Select all
convert smile.jpg -resize "250x250>" -alpha set -background '#ffccff' -vignette 0x4 j.jpg
convert smile.tif -resize "250x250>" -alpha set -background '#ffccff' -vignette 0x4 t.jpgThe result that has the JPEG as the source looks correct:
The result that has the TIFF as the source is NOT correct:
I used ImageMagick 6.8.0-7.
How can I get the TIFF image to be convert properly?
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Contact:
Post
by snibgo » 2013-09-20T11:56:07-07:00
smile.jpg is sRGB but smile.tif is CMYK.
For the cmyk file, I suggest you convert it to sRGB first:
Code: Select all
convert smile.tif -colorspace sRGB -resize "250x250>" -alpha set -background '#ffccff' -vignette 0x4 t.jpg
Users browsing this forum: Ahrefs [Bot] , Amazon [Bot] , Bing [Bot] , Google [Bot] and 17 guests