Opened 7 years ago

Last modified 2 years ago

#6694 new defect

can we have gamma-correct image-resizing

Reported by: mtc Owned by:
Priority: minor Component: swscale
Version: unspecified Keywords: gamma
Cc: mirh Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Change History (9)

comment:4 by mtc, 7 years ago

Summary: can we have gamma-gorrect image-resizingcan we have gamma-correct image-resizing

comment:6 by mtc, 7 years ago

Keywords: gamma linear sRGB resize scale radiometric added

comment:7 by Carl Eugen Hoyos, 7 years ago

Keywords: linear sRGB resize scale radiometric removed

comment:8 by mtc, 7 years ago

maybe barely (usually not much) affects dithering accuracy in very coarse palettes

comment:9 by mirh, 2 years ago

Cc: mirh added

This still results in the wrong image.

ffmpeg -i gamma-1.0-or-2.2.png -vf "scale=w=iw/2:h=ih/2" -vframes 1 -c:v bmp rules.bmp

Possibly related to #9772 too?

Note: See TracTickets for help on using tickets.