crop_multiple_image​s(images_folder)

An extension of the imcrop command to be used in batch mode for processing multiple files.

You are now following this Submission

This will enable users to crop a batch of images stored in a single folder. The function is based on Matlab's imcrop and extends its capabilities. The allowed image types are bmp, gif, hdf, jpg, jpeg, jp2, jpx, pbm, pcx, pgm, png, pnm, ppm, ras, tif, tiff, xwd.
The user picks a folder and the function will check if it contains any figures. If more than one figure type is found, the user will pick which type to crop.
Then, the user will interactively crop the first figure (similarly to imcrop). Finally, upon approval, all the images in the folder will be cropped using the same coordinates.

Cite As

Amir Paster (2026). crop_multiple_images(images_folder) (https://www.mathworks.com/matlabcentral/fileexchange/59707-crop_multiple_images-images_folder), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0