optimize image files #52

Closed
opened 2021-06-02 09:12:24 +08:00 by sb10q · 2 comments

The latest PNG image files that I have added e.g. images/Thermostat@2x.png (d8a1f50f9b) are a bit too large.
Contrary to the ones created by @sovanna, they use 24bpp color and instead of an indexed palette, which helps explain the file size.
Converting to indexed using The GIMP results in unacceptable picture quality.
Apparently there are other tools that can give better results, but @sovanna does not remember which one he used.

The latest PNG image files that I have added e.g. images/Thermostat@2x.png (https://git.m-labs.hk/M-Labs/web2019/commit/d8a1f50f9b12a9425c9fe99b48164934af7ecf91) are a bit too large. Contrary to the ones created by @sovanna, they use 24bpp color and instead of an indexed palette, which helps explain the file size. Converting to indexed using The GIMP results in unacceptable picture quality. Apparently there are other tools that can give better results, but @sovanna does not remember which one he used.
occheung was assigned by sb10q 2021-06-02 09:12:24 +08:00
Collaborator

Tried Gimp, ImageMagick, mtPaint and pngnq on Thermostat@2x.png.
Here are the results:

Gimp:

ImageMagick:

mtPaint:

pngnq:

Tried Gimp, ImageMagick, mtPaint and pngnq on `Thermostat@2x.png`. Here are the results: Gimp: ![](https://git.m-labs.hk/attachments/78e48d64-0a65-4940-8912-2e79a625fe47) ImageMagick: ![](https://git.m-labs.hk/attachments/32ccd1a4-dfb0-48be-b08e-960dc1ad2d9f) mtPaint: ![](https://git.m-labs.hk/attachments/1244f55e-7a5d-4c7d-93c7-d85e25414b3e) pngnq: ![](https://git.m-labs.hk/attachments/062bf38a-0d47-4d04-9352-472b43d13c9a)
Poster
Owner

Seems pngnq is the way to go

Seems pngnq is the way to go
sb10q closed this issue 2021-06-03 15:21:02 +08:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/web2019#52
There is no content yet.