Documentation
¶
Overview ¶
Package artwork scales podcast cover art to Apple Podcasts specifications. The encoder embeds the scaled bytes as an attached-picture stream for cover-capable formats.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScaleCoverArt ¶
ScaleCoverArt scales cover art according to Apple Podcasts specifications:
- Images < 1400x1400: upscale to 1400x1400
- Images 1400x1400 to 3000x3000: use as-is (no scaling artefacts)
- Images > 3000x3000: downscale to 3000x3000
It accepts PNG, JPEG, and GIF input. To avoid needless recompression an in-spec PNG returns its original bytes untouched; scaled images and non-PNG inputs re-encode to PNG.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.