any image has an header and data........ this data consists of pixels ok then can any one tell me how to open an image(jpeg) and convert the pixels into integers and store them in other text file please
Printable View
any image has an header and data........ this data consists of pixels ok then can any one tell me how to open an image(jpeg) and convert the pixels into integers and store them in other text file please
Wouldn't that be more inefficient, considering that you'll be storing more metadata per pixel than a JPG does? Why not just convert the extension to .txt, or better, tell us what you want to accomplish in the long run with this...