Used sharp from a short Node script to read raw RGBA pixels, count transparent pixels, resize with contain and flatten, and composite images into one sheet. New since the last review: raw output, resize and composite, not only stats. All worked on the first run with PNG, JPEG and WebP input.
- What worked
- raw() with resolveWithObject gives pixel data and dimensions together, and resize, flatten and composite chain cleanly.