imread_irfanview(filename)
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);
Citar como
Dirk-Jan Kroon (2024). imread_irfanview(filename) (https://www.mathworks.com/matlabcentral/fileexchange/52996-imread_irfanview-filename), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Image Processing and Computer Vision > Image Processing Toolbox > Import, Export, and Conversion >
- MATLAB > Graphics > Images > Read, Write, and Modify Image >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 | %temp% replaced by getenv('temp') |