BMPtoCOE

Converts a 16 color bmp to xilinx memory file

You are now following this Submission

This code was written for a colleague of mine that needed a quick script that could convert a 16 color bmp to a Xilinx FPGA memory file. This could be used for your projects or for an example on the structure for your own coe files. Zip file includes the function, a test bmp, and the resultant coe file. The code makes the assumption that the data is scanned row by row, not column by column.

Cite As

Timothy Felty (2026). BMPtoCOE (https://au.mathworks.com/matlabcentral/fileexchange/12437-bmptocoe), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0