You don’t have to , it’s just a warning.
There can be quite a difference in how certain things are handled in the 6.x versions. So knowing this MIGHT come on handy.
V7 has been out ror years… Just saying.
Not really . Not in imagemagick speak anyway :). The image is rgb, sRGB , lab, cmyk , etc… which profile is used , is completely separate from this in imagemagick.
Imagemagick itself also does very little with this profile image. If you say ‘red’ it doesn’t use the profile , it jus tuaed rgb 255,0,0 for example .
It can convert from and to different profiles .
So , if you read a tif, scale and save to jpg… there is a good chance it just copies over the profile , not caring what it means . This should be easy to test if you view the output file .
The -profile switch converts to another profile , OR assigns if no profile is there yet . This always itches with me, cause how do you know for sure there is a profile and its picked up or not .
The +profile switch can remove a profile .
So if i want to be sure, i always use +profile to clear all profiles , then use -profile to assign a profile , then set intent and black point compensation if wanted , then use another -profile to convert to a profile , then save .
magick inputfile.tif +profile "*" -profile linear_rec2020.icc -intent relative -black-point-compensation -profile srgb.icc outputfile.jpg
. Just to give an example.
If you are sure there is a profile in the image (use identify -verbose to search for it ) you could drop the first +profile and -profile. But if you know the profile of an image , you might as well do what i did .
If you need icc files to assign and convert to, you can ‘convert’ an image file to a .icc file to extract the profile , but Elle’s collection of awesome profile is most often the files i use.
If you want to scale in linear space, do it before converting to sRGB .