discord / lilliput

Resize images and animated GIFs in Go
https://discord.com/blog/how-discord-resizes-150-million-images-every-day-with-go-and-c
Other
1.94k stars 124 forks source link

avcodec: improve support for anamorphic video #165

Closed rcombs closed 2 weeks ago

rcombs commented 2 weeks ago

Expands the reported resolution as needed to produce a non-anamorphic output image, both for metadata and thumbnails. This works for files that have a sample aspect ratio tagged at the container level.