You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
im2html produces HTML text containing a table that displays the image pixel colors and values. When called with no output argument, im2html displays the HTML in the MATLAB Web Browser. When called with an output argument, im2html returns the HTML text as a string. This form can be useful when publishing a MATLAB file.
Requires Image Processing Toolbox.
Should run in R2009a or later.
Cite As
Steve Eddins (2026). im2html.m (https://www.mathworks.com/matlabcentral/fileexchange/32273-im2html-m), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Printing Variables to HTML Tables in Published Code
General Information
- Version 1.0.0.1 (45.8 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
