The images seem to be interpreting the gray-opacity data as RGB(A?).
ImageMagick converts it correctly to PNG so the format seems to be correct.
The Sendspace links point to the RGB rendering of the PAM P7 GRAYSCALE_ALPHA by XnView
The XV PGM flattening against a White background
Histogram of the Grayscale and the Opacity channels
The original PAM, P7 image
pf-269361_9.red.sp0.5.m1.16.a.xnview.psycho.jpg -- https://www.sendspace.com/file/1ten20 [1]
pf-269361_9.red.sp0.5.m1.16.a.xv.normal.white.jpg -- https://www.sendspace.com/file/c5ecya [1]
pf-269361_9.red.sp0.5.m1.16.a.pam.hist.png -- https://www.sendspace.com/file/qjropc [1]
pf-269361_9.red.sp0.5.m1.16.a.pam -- https://www.sendspace.com/file/muidyx [1] 145 MBytes
Here is the header:
Code: Select all
head -n7 pf-269361_9.red.sp0.5.m1.16.a.pam
P7
WIDTH 7360
HEIGHT 4912
DEPTH 2
MAXVAL 65535
TUPLTYPE GRAYSCALE_ALPHA
ENDHDR
Code: Select all
Read_PAM: xr=7360, yr=4912, qb=2, ptype=7, nchan=2, hdrlen=79 + bmaplen=144609280 -> fsize=144609359
Gray: SDev=11687.4, ave=21279.7, count=36152320, range [760 .. 62292], Skew=0.681915, Kurt=-0.135353
Alpha: SDev=15125.7, ave=25888.1, count=36152320, range [242 .. 60883], Skew=0.318397, Kurt=-1.017546
- Grayscale
Alpha
Grayscale and Alpha flattened against a White background
Grayscale and Alpha flattened against a Black background
Grayscale and Alpha flattened against a Checkerboard background
NOTE: [1]: I can't inline or attach even tiny camera pictures. They all get a 'file too large' error.
XnView MP Linux Version 0.95 64bits (Jan 26 2020) Libformat version 7.36