[FFmpeg-trac] #10920(avfilter:closed): "paletteuse" keeps unused colors for PNG unnecessarily

FFmpeg trac at avcodec.org
Thu Feb 6 09:37:20 EET 2025


#10920: "paletteuse" keeps unused colors for PNG unnecessarily
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:  (none)
  MasterQuestionable                 |
                 Type:  enhancement  |                   Status:  closed
             Priority:  normal       |                Component:  avfilter
              Version:  unspecified  |               Resolution:  invalid
             Keywords:  paletteuse   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Leo Izen):

 From the PNG specification section on PLTE chunk:

 > There is no requirement that the palette entries all be used by the
 image, nor that they all be different.

 https://www.w3.org/TR/png/#11PLTE

 FFmpeg is not a PNG optimizer.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10920#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list