Change profile
PerlMagick will perform a color transform if the image has a color profile associated with it and you call $image->Profile() and ImageMagick has LCMS support. If no profile is associated with the image, you must call $image->Profile() twice; once to associate a color profile and again to perform the color transformation.
You can get the ICC, ICM, or IPTC image profiles with
- $image->Get('ICC');