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.

 Accepted Answer

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

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!