Is there any way so i can crop many picture by single command or is there any option in gimp or photoshop.
The things i know is images width is 930 and height is 800. i want to split those image into two new image width should equal to 930/2=465 where height should remain same.
Anyone know the solution?
3
Answers
I would suggest you use ImageMagick, which is available for free for Windows, Linux and OSX from here
For example, to crop all jpegs in current directory to 256 pixels max by 256 pixels max
For your purposes, assuming an input file is called
a.jpg
, you probably needand a1.jpg and a2.jpg will be the two halves,
I don’t know if you are on Windows or Linux, but you can put this in a loop easily enough to do all your images
Untested:
Linux…
MS-DOS Command (my skills are rusty here)
Back up your images before you try any commands!!!
Assuming you have a folder with images (recursive), just images, no other files…
Assuming all these images are large enough to split…
you can use this script
I’m using this to split 3840×1080 images into 2 1920×1080 images for dual screen desktop background images.
You can try
crop.bat
(does not require external binaries):For mass image cropping you can check the
for
command.