Documentation
¶
Overview ¶
Package thumb generates JPEG thumbnails for images and videos.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromImage ¶
FromImage decodes image data and returns a JPEG thumbnail. Supported input formats include any format registered with image.Decode (typically JPEG, PNG, GIF, WebP when imported).
func Placeholder ¶
func Placeholder() []byte
Placeholder returns a minimal valid 1x1 JPEG for formats we cannot decode.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.