I have a 6 images , and each image has a certain section that i want to save as a separate image , the problem is that it has to be accurate because i am doing some animation using the sub-image so they should exactly . so I want to accurately extract a that part from each of the 6 images , i can't do it using a image editor in which i have to make the bounding box myself because it will not be accurate , is there any program that lets me do this by like defining a box using numerical values.

PS: I don't want to write matlab or opencv program for this .


Try using ImageMagick or GraphiksMagick. Both are very capable command line image editors that can easily do what you are asking. Of course you could also use an image editor and explictly define the size of your bounding box. Both Gimp and Photoshop have this functionality.

  • Thanks, how to do it using gimp ? – rajat Sep 7 '12 at 21:08
  • Sorry, I was thinking of the crop tool, which is essentially what you are doing. Tutorial – Lee Harrison Sep 7 '12 at 21:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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