Registry / utility / go-gifresize

go-gifresize

JSON →
library1.0.0gogounverified

Package gifresize resizes animated gifs by building frames from all previous frames to avoid aliasing of transparent pixels.

go get willnorris.com/go/gifresize
INSTALL
IMPORT
SIG · GO-GIFRESIZE
G
go-gifresize
utilitygov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gifresize
willnorris.com/go/gifresize

Resize an animated GIF to width 100 pixels.

package main import ( "os" "willnorris.com/go/gifresize" ) func main() { f, _ := os.Open("input.gif") defer f.Close() out, _ := os.Create("output.gif") defer out.Close() gifresize.Process(out, f, 100, 0) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
go-gifresize — go get go-gifresize · libregistry