Remove white space around images
RemoveWhiteSpace function is a tiny tool to remove white spaces around an image.
Syntax:
1. For an image: u_out = RemoveWhiteSpace(u_in)
2. For an image file, to overwrite the result on the same file: RemoveWhiteSpace([], 'file', input_filename)
3. For an image file, to make a new output file: RemoveWhiteSpace([], 'file', input_filename, 'output', output_filename)
© February 2nd, 2012, By Reza Farrahi Moghaddam, Synchromedia Lab, ETS, Montreal, Canada
Cite As
Reza Farrahi Moghaddam (2025). Remove white space around images (https://www.mathworks.com/matlabcentral/fileexchange/34898-remove-white-space-around-images), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
RemoveWhiteSpace/
Version | Published | Release Notes | |
---|---|---|---|
1.7.0.0 | A minor fix. |
||
1.6.0.0 | Removing the dependency on the Image Processing Toolbox. |
||
1.5.0.0 | Image Processing Toolbox is added to requirements. |
||
1.4.0.0 | A minor fix. |
||
1.3.0.0 | A minor fix. |
||
1.2.0.0 | A minor fix. |
||
1.1.0.0 | A minor fix. |
||
1.0.0.0 |