[FFmpeg-devel] [PATCH]Fix pam files nicer

Derek Buitenhuis derek.buitenhuis at gmail.com
Wed Dec 28 05:35:27 CET 2011

On 27/12/2011 11:16 PM, Carl Eugen Hoyos wrote:
> Hi!
> Attached is probably the preferable way of fixing the pam bug.
> Please comment, Carl Eugen


Photoshop and GIMP can't actually open "true" PAM files it seems...

I tested with NetPBM:

$ pamfile from_ffmpeg.pam

from_ffmpeg.pam:  pamfile: Unrecognized header line: 'TUPLETYP'. 
Possible missing END HDR line?

$ pamfile from_patched_ffmpeg.pam

from_patched_ffmpeg.pam:       PAM, 1024 by 768 by 1 maxval 255
     Tuple type: GRAYSCALE

$ pamfile what_photoshop_claims_is.pam

what_photoshop_claims_is.pam:       PGM raw, 1024 by 768  maxval 255

GIMP cannot save PAM files.



- Derek

More information about the ffmpeg-devel mailing list