PNGBatchCompressor
Context of Use
PNGBatchCompressor mainly used for compressed app icon design materials, etc In order to achieve the purpose of reducing the size of the app install package.
Description
PNGBatchCompressor uses smart lossy compression techniques to reduce the file size of your PNG files.
By selectively decreasing the number of colors in the image, fewer bytes are required to store the data.
The effect is nearly invisible but it makes a very large difference in file size!
PNGBatchCompressor greatly reduces file sizes of 24-bit PNG files (including alpha transparency) by applying lossy compression and conversion to a more efficient PNG8+alpha format. Such images are compatible with iOS, all browsers, and even degrade well in IE6.
The batch operation, Convert the entire directory, and output to another directory.
If have any troubles please send email to wichcat (at) hotmail.com
Messages values :
SUCCESS
Compression success.
MISSING_ARGUMENT
System error.
READ_ERROR
PNG file Can't read or file format is not correct.
INVALID_ARGUMENT
System error.
NOT_OVERWRITING_ERROR
Can't write cover file.
CANT_WRITE_ERROR
File Can't write.
OUT_OF_MEMORY_ERROR
System error.
WRONG_ARCHITECTURE
System error.
PNG_OUT_OF_MEMORY_ERROR
System error
LIBPNG_FATAL_ERROR
System error
WRONG_INPUT_COLOR_TYPE
Does not support the PNG file.
LIBPNG_INIT_ERROR
System error.
TOO_LARGE_FILE
Compressed files larger than the original file size. Don't need to compress.
TOO_LOW_QUALITY
Compression of image quality is lower than "Quality" set value.
1. Increase the number of color.
2.Reduce the "Quality" set of values.