The point is this: there is a huge file that needs to be scaled in 10-15 different sizes. It is not very reasonable to make a simple batch through an API or.

convert -profile Profiles/CMYK/USWebCoatedSWOP.icc t.psd'[0]' -profile Profiles/RGB/AdobeRGB1998.icc -resize 600x600 out-600.png 

I want to ask if anyone can know if ImageMagic has the ability to immediately generate several sizes in different files with a single call to the convert command.

    1 answer 1

    The answer was found:

     convert -profile Profiles/CMYK/USWebCoatedSWOP.icc t.psd'[0]' \ -respect-parentheses \ \( -clone 0 -profile Profiles/RGB/AdobeRGB1998.icc -resize 600x600 +write out-600.png \) \ \( -clone 0 -profile Profiles/RGB/AdobeRGB1998.icc -resize 400x400 +write out-400.png \) \ \( -clone 0 -profile Profiles/RGB/AdobeRGB1998.icc -resize 200x200 +write out-200.png \) \ null: