|
From: | Antonio Diaz Diaz |
Subject: | Re: [Bug-ocrad] Converting PNM show error ocrad: maxval > 255 in pgm "P5" file. |
Date: | Wed, 16 Oct 2013 18:49:19 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Hello. Kenneth Truyers wrote:
I'm trying to convert an PNM file, but when I execute the command I get the error "ocrad: maxval > 255 in pgm "P5" file." Is there a problem with the file? If so, what is wrong it and how can I correct it?
It seems the file is a new format 2-byte-per-sample PGM file. Ocrad does not understand this format (yet). You can convert the file to the 1-byte-per-sample format with pamdepth[1].
[1] http://netpbm.sourceforge.net/doc/pamdepth.html Best regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |