Emory Dunn :tiny_cart:
banner
emorydunn.mastodon.tinycart.club.ap.brid.gy
Emory Dunn :tiny_cart:
@emorydunn.mastodon.tinycart.club.ap.brid.gy
Maker & nerd

DT & DIT. Creator of fine apps for folks in stills and motion.

[bridged from https://mastodon.tinycart.club/@emorydunn on the fediverse by https://fed.brid.gy/ ]
So the good news is batching the compression is about twice as fast. The other good news is more glitch art! Eh, wait, no that's not good
November 10, 2025 at 1:12 AM
There's probably an optimal batch size based on thread or core count because the compression process does completely peg a CPU core. Of course that could be either because the algorithm is churning through data or my implementation is horribly inefficient.
November 10, 2025 at 12:45 AM
@thias No, I don't believe so. The bits-per-sample and samples-per-pixel are set for the whole image. Tiles are really meant to be "crops” of the full image, but I'm planning on using them in a slightly off-spec way
November 6, 2025 at 9:16 PM
Ok, more interesting, both visually and technically. The whole goal of writing a TIFF builder was to implement tiling, rather than the usual striping for storing data, and here we have four tiles.
November 6, 2025 at 8:43 PM
I made a TIFF!

Sure, it's not much, but it's an artisanal hand-crafted TIFF
November 6, 2025 at 5:42 PM
It may not look like much, but this is a valid (pretty sure) TIFF Image File Directory.

#swiftlang
November 6, 2025 at 12:25 AM