You are not logged in.
Dear community,
I want to cut the edges of images, but the problem is, that I want to cut the left edge of the pictures 1,3,5 and the right edge of the even numbered pictures. How can I do this?
Offline
Feed the picture list to two slightly different imagemagic (or whatever you use for image cropping) commands, something like
for i in $(seq 1 2 25); do echo foo > $i; done
Offline
I have 200 pictures. How can I get a sequence of even/uneven numbers?
Offline
Doesn't 'seq 1 2 200' and 'seq 2 2 200' work?
Offline
If your images are in files numbered 1.jpg 2.jpg 3.jpg etc., the even numbered ones are *[02468].jpg and the odd numbered ones *[13579].jpg.
You haven't described how the images are stored or by what means you intend to crop them, or what language you're using for that matter, so it'll be harder to get more detailed than that.
Offline