This seems to work reasonably well using profiles to keep the color correct.

convert GirlOnPhone.jpg \
        +profile icc -profile Profiles/CMYK.icc -profile Profiles/sRGB.icc \
        -set option:distort:viewport 180x180-15-15 -virtual-pixel tile \
        -distort SRT "0" -profile Profiles/CMYK.icc GirlOnPhone_border.jpg


see files

http://www.fmwconcepts.com/misc_tests/GirlOnPhone.jpg
and
http://www.fmwconcepts.com/misc_tests/GirlOnPhone_border.jpg


Fred
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to