28 points by Manishearth
That is pretty much exactly how jxl-rs does it. I'm surprised it isn't already better known, but I suppose this article will rectify that :)