I have the following question. First of all what is PGB? Is it a greyscale image?
As far as I understand pixels there are coded with intensivity of black (or white?) 0-255.
How can I retrieve those numbers from the image file, i.e. how can I obtain a txt file with mere numbers (codes of the pixels)? Can I do this with XnView?
I would greately appreciate your reply!
pizza wrote:I have the following question. First of all what is PGB? Is it a greyscale image?
As far as I understand pixels there are coded with intensivity of black (or white?) 0-255.
How can I retrieve those numbers from the image file, i.e. how can I obtain a txt file with mere numbers (codes of the pixels)? Can I do this with XnView?
I would greately appreciate your reply!
You an use "View as hexa", or "Display color information".
Pierre.
Many thanks for you reply! Please tell me, the file below is a standard plain PGM? I need to recognize this "plain text". So, what are necessary attributes of this file? Is # feep.pgm a commentary? And what is P2?
Very waiting on your reply.
pizza wrote:Many thanks for you reply! Please tell me, the file below is a standard plain PGM? I need to recognize this "plain text". So, what are necessary attributes of this file? Is # feep.pgm a commentary? And what is P2?
Very waiting on your reply.