libretro / libretro-thumbnails

Boxarts, titlescreen, and in-game screenshots for the no-intro DATs used by RetroArch
344 stars 347 forks source link

pngquant optimization #54

Open lollo78 opened 8 years ago

lollo78 commented 8 years ago

Hi guys, considering that pngquant is supported https://github.com/libretro/libretro-thumbnails/commit/92e77f20a9d9cd16837d5b6fa822bcb808c16bc0 What do you think about to compress all the actual PNGs and upload them again on libretro-thumbails? Could we define the compression parameters to use?

stubl commented 8 years ago

I like the png format as it is because the images can be used with other frontend programs

wouldnt all future uploads need to be re-converted too by other contributors? dont know if its worth it

kivutar commented 8 years ago

Other frontends are certainly using the generic libpng that supports pngquant, isn't it?

Alcaro commented 8 years ago

Other frontends are certainly using the generic libpng that supports pngquant, isn't it?

Ew, dependency.

pngquant emits standards-complaint PNGs that work in any PNG reader. There's no need to worry about compatibility one way or the other.

Tatsuya79 commented 8 years ago

What setting are you using? I tried "speed 1" and the loss is quite visible compared to a good jpg. Isn't jpg going to get supported?

Enverex commented 7 years ago

What's the point in using PNG if you're just going to lossy recompress them? Run them through optipng sure, but not pngquant.

lasers commented 7 years ago

Some thumbnails are not displaying. https://github.com/libretro/RetroArch/issues/3932. Is it a result of using some png compression like optipng or pngquant? Any solution?

RetroUp commented 7 years ago

I've optimized all images. No visible difference. Average 60% file size reduction. I'll upload next week. There are no issues with thumbnails in RA or other frontends.

Compressing assets with transparent backgrounds can cause major issues. They need to be done more manually but can be done.

RobLoach commented 6 years ago

We're now running https://imgbot.net/ across all repos at https://github.com/libretro-thumbnails