Re:Show HN: Swatchify – CLI to get a color palette from an i...
by goh-chunlin on Friday November 28, 2025 @03:06AM
(#46076580)
This looks clean. I appreciate the pkg decoupling.
Regarding the server mode (swatchify serve): Does the decoding step have a hard memory limit or dimension cap? Since image.Decode expands compressed files into full bitmaps, I am wondering if a large resolution upload (like a 4k print asset) could OOM-kill the container before the downscaler kicks in.
Regarding the server mode (swatchify serve): Does the decoding step have a hard memory limit or dimension cap? Since image.Decode expands compressed files into full bitmaps, I am wondering if a large resolution upload (like a 4k print asset) could OOM-kill the container before the downscaler kicks in.