how to convert .bmp to .txt file

Hi,
in Verilog code i want the .txt file of image .bmp now how i can convert it in MATLAB? Please excuse my poor english.

 Akzeptierte Antwort

Pedro Villena
Pedro Villena am 14 Jan. 2013

1 Stimme

rgb = imread('myImageFile.bmp');
dlmwrite('myImageFile.txt',rgb);

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by