@Santiasan
If I get it right, then what you're doing is incredibly stupid. Who saving full color images, especially the ones which were destroyed by low jpg compression beforehand, with only 256 colors (i.e. png-8)? You just killing them even more. Save them in jpg with 92 quality, they won't...