im2html.m
Version 1.0.0.1 (45.8 KB) by
Steve Eddins
Convert image pixels to HTML table showing pixel colors and values
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 .
MATLAB Release Compatibility
Created with
R2011a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Images > Convert Image Type >
Find more on Convert Image Type in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: Printing Variables to HTML Tables in Published Code
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
