PDA

View Full Version : Raw file to ASCII file


kuzmanm
17th of March 2005 (Thu), 04:32
Hi,
I have a CANON PowerShot G5 digital camera. I would like to transform its raw picture file to ascii file so I can import it in a worksheet.
Can anyone help me?

maderito
17th of March 2005 (Thu), 06:08
Are you referring to images of text/numbers that you want to convert from graphics format (like JPEG or TIFF) to text files?

If yes, you need to investigate OCR - optical character recognition - a technology that is incorporated in some scanners. Stand-alone OCR applications that will process and convert images files to text tend to be expensive.

If you are trying to convert a lot of text pages into digital text files, it would be simpler to scan and convert them.

...but I have a feeling you're talking about something different. :confused:

kuzmanm
18th of March 2005 (Fri), 01:28
I wish to convert image (in RAW format) to ASCII file because I need x,y,R,G and B values for each pixel (from image). I need these values in an ASCII files.

maderito
18th of March 2005 (Fri), 05:42
I assume you are a programmer. You can start here:

http://www.cybercom.net/~dcoffin/dcraw/ (http://www.cybercom.net/%7Edcoffin/dcraw/)

CyberDyneSystems
18th of March 2005 (Fri), 09:25
You might want to start with a conversion to an image file format,. and reduce the dimensions?