SixLabors / ImageSharp

:camera: A modern, cross-platform, 2D Graphics library for .NET
https://sixlabors.com/products/imagesharp/
Other
7.39k stars 851 forks source link

Add option to WebP encoder to ignore animation #2698

Closed SpikeViper closed 6 months ago

SpikeViper commented 6 months ago

Prerequisites

Description

Details at: https://github.com/SixLabors/ImageSharp/discussions/2697

TLDR; While the new ability to encode animated WebPs is amazing, there are cases in which one would want to encode both an animated and static version of the image without decoding multiple times. A simple flag is sufficient to make this possible.

CLAassistant commented 6 months ago

CLA assistant check
All committers have signed the CLA.

CLAassistant commented 6 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

SpikeViper commented 6 months ago

Closing due to being deemed "encoder specific hack".