Login  Register

ASCII Data File

Posted by goose on Jan 07, 2011; 1:52am
URL: http://imagej.273.s1.nabble.com/ASCII-Data-File-tp3686068.html

Hello,

How do I transform an 8-byte greyscale image in .bmp format to a pure ASCII file? Ideally, I would be able to save it as a .pgm format with 'p2' as my magic number (instead of the 'p5' format on imagej).

I was playing around with the 'text image' format and I'm having a hard time figuring out what the format of that file is.

Thanks,

-John