imread_irfanview(fi​lename)

Read Images not supported by Matlab, but supported by Irfanview
178 Downloads
Updated 14 Sep 2015

View License

Matlab sometimes does not support an certain image format. For instance Error reading bmp data Bitfield compression not supported.
This function imread_irfanview, uses the installed Irfanview application to convert the not-supported image file to a TIF file supported by Matlab.
Note, probably you have to change the PATH to the Irfanview application inside your code.
Example,
I = imread_irfanview('test.bmp');
figure, imshow(I);

Cite As

Dirk-Jan Kroon (2026). imread_irfanview(filename) (https://in.mathworks.com/matlabcentral/fileexchange/52996-imread_irfanview-filename), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0

%temp% replaced by getenv('temp')