[magick-users] Convert and resize in one step.
Brian Jackson
brian at actionathletics.com
Tue Apr 22 10:09:47 PDT 2008
On Tuesday 22 April 2008 07:01, John Culleton wrote:
> I have many photos in jpg (rgb) form that I may need to both resize
> and convert to cmyk. Can this be done in a single step?
>
> They are currently 300dpi which is fine. Must I specify 300 dpi
> specifically in the convert/resize operation?
Umm... wouldn't this work:
for i in *jpeg; do
covert $i -profile path/to/srgb.icm -geometry 1000x1000 -density
300x300 -profile path/to/cmyk.icc cmyk_$i
done
brian
--
Brian Jackson
Action Athletics Sports Photography
http://www.ActionAthletics.com/
More information about the Magick-users
mailing list