giftool

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 9 Imported by: 0

README

koron/giftool

PkgGoDev Actions/Go Go Report Card

Getting Started

Requirements: Go 1.23 or later

Install and update:

$ go install github.com/koron/giftool

Or use pre-compiled binaries from the latest release.

Extract a representative (rep) frame from animation GIF. The representative frame is selected as the frame with the highest image entropy.

$ giftool extract rep path/to/animation.gif

Extracted image is saved to path/to/animation_rep.png

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
analyse
Package analyse provides sub-commands to analyze GIF file.
Package analyse provides sub-commands to analyze GIF file.
extract
Package extract provides "extract" sub command: extract all images from a GIF image.
Package extract provides "extract" sub command: extract all images from a GIF image.
gifutil
Package gifutil provides utility functions to manipulate GIF image.
Package gifutil provides utility functions to manipulate GIF image.
imgutil
Package imgutil provides utility functions to manipulate generic image.Image.
Package imgutil provides utility functions to manipulate generic image.Image.
info
Package info provides "info" sub command: to show GIF image information.
Package info provides "info" sub command: to show GIF image information.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL