-1

I have an image file image.png, and I want to make a vertical cut in the half and generate two images of equal size.

2 Answers 2

1

With imagemagick:

magick image.png -crop 50%x100% output_%d.png

Documentation

0

With ffmpeg:

ffmpeg -i image.png -vf "crop=iw/2:ih:0:0" output_1.png
ffmpeg -i image.png -vf "crop=iw/2:ih:iw/2:0" output_2.png

Documentation

Not the answer you're looking for? Browse other questions tagged or ask your own question.