how to convert .bmp to .txt file

2 views (last 30 days)
reza
reza on 14 Jan 2013
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

Pedro Villena
Pedro Villena on 14 Jan 2013
rgb = imread('myImageFile.bmp');
dlmwrite('myImageFile.txt',rgb);

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!