Background
As reported several weeks ago, a few images on the Codex doc site are far off the sizing charts due to containing binary images.
Goal
Spun out of T349041, let's bring the outlier image assets down to maximum 400kb.
After I've shared the issue, @bmartinezcalvo has provided alternatives to the existing images in question.
Acceptance criteria
- Reduce image sizes to below 400kb:
- dialog-specifications-overlay
- dialog-specifications-max
- progress-bar-types-base
- tabs-types-quiet
- tab-types-quiet
- text-area-types-grabber.svg Note that, I've reduced numeral precision to 3 in order to get this under 300kb
Update:
The last optimizations brought me on an probably even better path, putting number precision down to 2, as most images are anyways full-width and even on a HiDPI screen should be crisp with this setting.
Bringing down the image data (macOS file size info!) from 21 MB to 6.6 MB for 166 images.