I'm kind of in a hurry so I ask it here (I'll read the documentation later).
I have image files (width 1280, height 720, colored, jpg) and I want to first reduce the files to half both vertically and horizontally, to 640x360, and I want to cut 120 rows (upper 60 rows and bottom 60 rows) to make an 640x240 color image. I want the final format to be .ppm.
How can I do this using ImageMagick's
Edit: I found I can first reduce the image size to 640x360 using another tool, and then I can do:
convert -crop 640x240 filename.jpg filename_crop.jpg
to crop the lower 120 rows to get 640x240 .jpg files. I can use another tool (like web service) to convert them to .ppm files at least. But ImageMagick's manual isn't so kind. For example it says:
-define format:option define one or more image format options
but doesn't say anything about