[FFmpeg-trac] #1897(undetermined:new): arbitrary maxval for netpbm image formats (pam, pnm, pgm)
FFmpeg
trac at avcodec.org
Wed Nov 7 20:58:39 CET 2012
#1897: arbitrary maxval for netpbm image formats (pam,pnm,pgm)
-------------------------------------+-------------------------------------
Reporter: richardpl | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: | undetermined
unspecified | Keywords:
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
-------------------------------------+-------------------------------------
Files that are created with pamdepth with maxval argument as 512 for
example (from original 255) decodes as black.
Is there some nice way to support this instead of doing insane
calculations as it is currently done for grayscale in pnmdec.c (see
upgrade arg) ?
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1897>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list