On Mon, 2023-03-06 at 14:38 +1100, Nigel Tao wrote:
> On Sun, Feb 26, 2023 at 12:43 PM 'Dan Kortschak' via golang-nuts
> wrote:
> > The alternative is to
> > replicate the image.Decode functionality, including registration
> > which
> > seems ugly.
>
> It may seem ugly but that is what I'd
On Sun, Feb 26, 2023 at 12:43 PM 'Dan Kortschak' via golang-nuts
wrote:
> The alternative is to
> replicate the image.Decode functionality, including registration which
> seems ugly.
It may seem ugly but that is what I'd recommend.
https://go.dev/src/image/format.go is only 110 lines of code.
I'm implementing a image renderer on an external device and want to
include GIF animation support. So far this is working fine, but I've
found a difficulty that comes from for image.Decode's file type
detection is registered.
What I have is shim type that wraps *gif.GIF but also implements