how to convert image(jpeg/bmp) to .coe file

Status
Not open for further replies.

praveenvanaparthy

Newbie level 6
Joined
Jun 19, 2011
Messages
14
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,283
Visit site
Activity points
1,376
hi.

please tell me how to convert image to .coe file .
am using it for xilinx.

is this using matlab or any direct procedure is there using xilinx ise.
 

Hi,

fortunaltey I just wrote a very simple program for my purpose to write a .coe file unfortunately since I am stuck and obsessed with work now I cannot further look into detail or explain here.
The program is quite simple. What you can do is some how call your desired file and then write it to the file as I did...


This may not the best approach for your thing but for me I needed this you can have similar way etc.
but note that since this will only write .txt file hence when you call it for coe file it will generate error, so what you do is just save as the similar file with .coe extension

For how to write or read using visual studio 2010 see https://www.cplusplus.com/
while google for details of .coe syntax etc.
Bests,
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…