Batch Image Resizing in the Browser: Canvas, Blobs, ZIPBatch Image Resizing in the Browser: Canvas, Blobs, ZIP A single-image resizer is a drawing call. A batch resizer is a pipeline: read ten files, decode ten images, draw ten canvases, encode ten output21h ago · 7 min readtoolkitloop.hashnode.dev
Fit, Crop, or Pad: What Actually Happens to Your PixelsFit, Crop, or Pad: what actually happens to your pixels when a resizer changes an image's dimensions? The drawing call is one line. The geometry, the resampling, and the re-encode around it decide whe1d ago · 5 min readtoolkitloop.hashnode.dev
How Browsers Count Words: Segmenters, Hyphens and EmojiHow Browsers Count Words: Segmenters, Hyphens and Emoji Ask three word counters for the length of one draft and you may get three answers. That is not a bug in any of them — at least, not necessarily.2d ago · 8 min readtoolkitloop.hashnode.dev
Why Word Counters Disagree: Segmentation and Edge CasesTwo counters read the same essay and report different word totals. Neither is broken. They are applying different rules for what counts as a word, and the difference concentrates in a handful of edge 3d ago · 6 min readtoolkitloop.hashnode.dev
QR Error Correction Explained: Levels, Capacity, Logo BudgetQR Error Correction Explained: Levels, Capacity, Logo Budget Every QR code you have ever scanned was damaged. Not badly, usually. A little glare, a slightly misprinted module, a thumbprint, a crease. 4d ago · 8 min readtoolkitloop.hashnode.dev