Convert to fixed imagesize on Linux-Server
Posted: 2012-11-23T14:38:46-07:00
Hello,
I have more than 5000 high resolution (300dpi) jpg images with different size, different cmyk profiles, clipping-path and white background. For our webshop I want to convert all images to the same size of 800x600 with white background and low resolution.
Test on windows 7 with IM 6.7.9-0 Q-16 :
This works an a lot of files looks well, but the datavolume of some files is more than 100 kb.
It works not on our Linux-Server (I dont know the image magick version, but I will ask our Admin), because we get images with black areas on different sides.
Please help me. Thank you in advance.
I have more than 5000 high resolution (300dpi) jpg images with different size, different cmyk profiles, clipping-path and white background. For our webshop I want to convert all images to the same size of 800x600 with white background and low resolution.
Test on windows 7 with IM 6.7.9-0 Q-16 :
Code: Select all
convert image.jpg -profile iso.icc +profile iso.icc -profile eci.icc -thumbnail 800x600 -support 1.0 -filter cubic -unsharp 1x2 -density 72x72 -quality 75 -background white -gravity center -extent 800x600 image.jpg
It works not on our Linux-Server (I dont know the image magick version, but I will ask our Admin), because we get images with black areas on different sides.
Please help me. Thank you in advance.