Dex-chan lover
- Joined
- Mar 24, 2018
- Messages
- 623
By nature PNG media files are squeezed out and compressed. For low color count aka: Mangadex media
files are sometimes needlessly large. I will provide some links to Windows based tools. Mac tools exist too.
If you have vivid color PNG's. Unless you need the portability of PNG stick to JPG format and crank up the
level to 9 (lossless). PNG become huge with lot's of color.
A vast majority of Mangadex PNG formatted files are already at the best possible size. Surprisingly there
are many that are just too damn big. Most likely from a poorly written media editor. Because of the way
color tables are written in PNG, you can have lots and lots of colors. But what if all the colors could be
written as grey scale and 256 or less ? Why have 32768 or more colors defined and never use more that
necessary ? Why have color table entries of colors used rarely and only off by 1 bit of a primary color from
another.
If you know about audio and MP3 files. The same was done for Picture media (JPEG Standard). PNG was
an attempt at lossless portable encoding, much like AAC is to MP3. Why burden a PNG with too much
information. If B/w or gray scale is the thing like (Mangadex) let's reduce the burden.
Nobody wants a problematic interface. So here is a easy GUI. https://github.com/tp7/WOptiPNG/releases/tag/0.3
The interface is old so an important updated file is needed. http://optipng.sourceforge.net/
Tweaks: Under setting.
Optimization Level: Default is 2.
You can go to 7 (max). Set it to 5. Slower at 7, but testing progress showed nothing needed going past 5.
If you have the time, or a really fast system use 5. Slow machine stick with default. (not best results)
Threads: Defaults to how many cores you got. Read the next setting to judge this one.
Using max cores and setting "high" priority can destabilize your system. Or make it very unresponsive.
My rule of thumb. Only use 75% of the cores. Unless you have a 2 core system (default to 1).
By leaving some cores uncommitted you have some control to stop or do other things.
Process Priority: Default normal. If you don't know, leave this one where it is.
Even with maxed threads "Normal" will still allow you to get in and do something.
Google search this one before making any change.
Word of warning:
Running max threads and high priority can REALLY heat up things inside the computer.
If your CPU fan is slow, defective, clogged. YOU WILL FRY YOUR CPU. No question about it.
Even check the power supply fan too.
General rule: A dusty PC box is not good. Dust is an insulator. Clean and blow out is good.
BEFORE YOU BLOW OUT THE BOX. PREVENT FANS FROM FREE SPINNING WHILE BLOWING!!!!
The fan may make a cool noise with all the air blowing. But you are damaging the fan and or bearings.
A non working fan is worst than a clogged one.
Have fun.
PS. Don't be surprise that you get a lot of low or 0% non-reductions. Like I said: Mangadex media
is generally reduced well. But there are some JEWELS in there with excess.
Please comment, not sure if the General forum is really read. So below the fold you know.
files are sometimes needlessly large. I will provide some links to Windows based tools. Mac tools exist too.
If you have vivid color PNG's. Unless you need the portability of PNG stick to JPG format and crank up the
level to 9 (lossless). PNG become huge with lot's of color.
A vast majority of Mangadex PNG formatted files are already at the best possible size. Surprisingly there
are many that are just too damn big. Most likely from a poorly written media editor. Because of the way
color tables are written in PNG, you can have lots and lots of colors. But what if all the colors could be
written as grey scale and 256 or less ? Why have 32768 or more colors defined and never use more that
necessary ? Why have color table entries of colors used rarely and only off by 1 bit of a primary color from
another.
If you know about audio and MP3 files. The same was done for Picture media (JPEG Standard). PNG was
an attempt at lossless portable encoding, much like AAC is to MP3. Why burden a PNG with too much
information. If B/w or gray scale is the thing like (Mangadex) let's reduce the burden.
Nobody wants a problematic interface. So here is a easy GUI. https://github.com/tp7/WOptiPNG/releases/tag/0.3
The interface is old so an important updated file is needed. http://optipng.sourceforge.net/
Tweaks: Under setting.
Optimization Level: Default is 2.
You can go to 7 (max). Set it to 5. Slower at 7, but testing progress showed nothing needed going past 5.
If you have the time, or a really fast system use 5. Slow machine stick with default. (not best results)
Threads: Defaults to how many cores you got. Read the next setting to judge this one.
Using max cores and setting "high" priority can destabilize your system. Or make it very unresponsive.
My rule of thumb. Only use 75% of the cores. Unless you have a 2 core system (default to 1).
By leaving some cores uncommitted you have some control to stop or do other things.
Process Priority: Default normal. If you don't know, leave this one where it is.
Even with maxed threads "Normal" will still allow you to get in and do something.
Google search this one before making any change.
Word of warning:
Running max threads and high priority can REALLY heat up things inside the computer.
If your CPU fan is slow, defective, clogged. YOU WILL FRY YOUR CPU. No question about it.
Even check the power supply fan too.
General rule: A dusty PC box is not good. Dust is an insulator. Clean and blow out is good.
BEFORE YOU BLOW OUT THE BOX. PREVENT FANS FROM FREE SPINNING WHILE BLOWING!!!!
The fan may make a cool noise with all the air blowing. But you are damaging the fan and or bearings.
A non working fan is worst than a clogged one.
Have fun.
PS. Don't be surprise that you get a lot of low or 0% non-reductions. Like I said: Mangadex media
is generally reduced well. But there are some JEWELS in there with excess.
Please comment, not sure if the General forum is really read. So below the fold you know.