Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Look up a common image source and figure out how the bits are formatted. I would suggest using either .BMP http://en.wikipedia.org/wiki/bmp_file_format or .PPM formats as they are very simplistic http://netpbm.sourceforge.net/doc/ppm.html Then write a conversion program that arranges the bits how you like. The PPM format you may be able to read directly. Inkscape is a good GPL program to try to convert from one image format to another. Python also has image reading routines that can be used to convert image formats. import the image module and you can read several different file formats. Pete --- Quote End --- i did not understand this. actually i have to convert the image(pixels) into a text file using quartus tool same as how we do using matlab. so that i can use that text file as input for my architecture. can u please help me regarding this problem.