The header of the file is
P5
1920 1080
#Fri Feb 12 17:33:33 2010
4095
......
(The dots are the start of the data)
Since multibyte pgm are part of the standard, what is the problem?
(http://netpbm.sourceforge.net/doc/pgm.html)
Surely gimp is newer that 2000 when the 2 byte format apparently came in.
Note that convert ( from ImageMagic) does seem to work, so if necessary
I could always use convert to get it into some format gimp does
understand.
Thanks
(gimp 2.4.7)
Well I clicked on your link which downloaded and opened the file in
KolourPaint. Saved it from there onto the desktop and right clicked open
with gimp and it opened without complaint?
Mandriva 2010, gimp 2.6.7
--
sid
RLU 300284
2010
Thanks for the update on this. I was able to get the file via Firefox. I
also tried to open it via the GIMP w/ the same result as the OP. I just
snagged KolourPaint and installed it and will try it in that
application...
It opened and all I see is BLACK.
ciao,
f
--
aa #2301
"I'd take the awe of understanding over the awe of ignorance any day"
--Douglas Adams
I suspect that KolourPaint saved it in a different format.
Do
head filename
on the file that KolourPaint saved and post it please.
>>
>> Mandriva 2010, gimp 2.6.7
>
> Thanks for the update on this. I was able to get the file via Firefox. I
> also tried to open it via the GIMP w/ the same result as the OP. I just
> snagged KolourPaint and installed it and will try it in that
> application...
>
> It opened and all I see is BLACK.
It was a picture taken with the camera with the lens cap on. There
should be a few pixels which are not quite black (ie if you increase the
brightness, you should see a few pixels poke up and eventually a mottled
noise floor. The noise floor has pixel brightness values of about 20 out
of 4095. The maximum brightness of any single pixel is about 700 out of
4095.
Yes but when saving Kolourpaint gives a warning that (re)saving in this
format (pgm) may reduce the number of colors ! This is why Gimp no
longer has a problem opening the file as the number of colors no longer
exceeds the maximum that Gimp allows...
OSIS (or so it seems)
Perhaps the previous poster didn't get/see this warning but I suspect
that is what happened. Also, it's likely kolourpaint uses ImageMagick as
a backend to convert/read the file in...and then export it.
When looking at the image properties in Gimp I see this:
1920 x 1080 pixels
72 ppi
Grayscale
2.0 MB
PNM (not pgm)
That's AFTER saving from kolourpaint.