Author Archives: Julia on EPH

LibImageQuant.jl

By: Julia on EPH

Re-posted from: https://ericphanson.com/blog/2025/libimagequant.jl/

This post is cross-posted from the Julia language community’s
Discourse forum. See here
for the original post where you can read and leave comments.

libimagequant is
a GPL Rust library (originally C, ported to rust by the maintainers)
which performs color quantization (available from the command line as pngquant). I got it building with
Binary Builder and wrote a small Julia wrapper called LibImageQuant.jl
to make it easier (and slightly more efficient) to use from Julia.
Instead of saving a PNG to disk and then calling pngquant,
you can do it in-memory with
quantize_image(figure_or_matrix).

Counting short package names

By: Julia on EPH

Re-posted from: https://ericphanson.com/blog/2025/counting-short-package-names/

Introduction

In my post yesterday Thoughts
on being a package registry maintainer
, I discussed package
registration moderation, exercise of power, and some historical
moderation decisions. One piece of it was about Julia packages with
3-letter names, and in particular the question of how many such packages
there can be. I
wrotelightly edited here for clarity:

Thoughts on being a package registry maintainer

By: Julia on EPH

Re-posted from: https://ericphanson.com/blog/2025/thoughts-on-being-a-package-registry-maintainer/

Introduction

Julia is a modern programming
language with a fairly large package ecosystem (currently ~10k packages)
that provide all kinds of useful functionality to build on. Packages are
registered in a global registry called General, which is
installed by default by the package manager, allowing users to easily
add and use registered packages.