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.

 Réponse acceptée

Pedro Villena
Pedro Villena le 14 Jan 2013

1 vote

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

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by