Wikipedia (Netpbm → Portable Arbitrary Map) wrote:Portable Arbitrary Map (PAM) is an extension of the older binary P4…P6 graphics formats. PAM generalises all features of PBM, PGM and PPM, and provides for extensions. PAM defines two new attributes; depth and tuple type:
As of 2015 PAM is not widely accepted or produced by graphics systems; e.g., XnView and FFmpeg support it. As specified the TUPLTYPE is optional; however, FFmpeg requires it.
- The depth attribute defines the number of channels in the image, such as 1 for greyscale images and 3 for RGB images.
- The tuple type attribute specifies what kind of image the PAM file represents, thus enabling it to stand for the older Netpbm formats, as well as to be extended to new uses, e.g., transparency.
MortenZdk wrote:However, my issues is merely that the image does convert correctly when the pixel components are more than 8 bits. I would expect that an image only using 0 and maxval would look the same, but that is not the case.
MortenZdk wrote:Can I do anything to help fixing this, since I would very much like PAM with 2 byte components to show correctly in XnView ?
Users browsing this forum: No registered users and 1 guest