MATLAB: How to convert .bmp to .txt file

dlmwriteimreadMATLAB

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.

Best Answer

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