I have lots of images in various formats. I want to convert them to JPEG with same parameters (standardized). I thought it would be enough to just do:
convert image.ext -strip image.jpg
But some of them are greyscale 8bit, some are 24 bit RGB, some are 32 bit CMYK. Their dpi also varies. I don't even know what other parameters might be different. I want them all to have exact same parameters except height & width. With no metadata. I currently have this:
convert -colorspace sRGB -units PixelsPerInch image.ext -density 72 -strip image.jpg
What else should I add?