DHowett / pincrush

Pincrush is an open PNG optimizer implementing Apple's proprietary CgBI format.
http://howett.net/pincrush
MIT License
55 stars 7 forks source link

pincrush causes png images broken #4

Open kentkrantz opened 5 years ago

kentkrantz commented 5 years ago

theos is using pincrush to optimize the png images but it will cause pngs broken, any idea?

ifeq ($(_THEOS_FINAL_PACKAGE),$(_THEOS_TRUE))
#   causes png broken
#   find $(THEOS_STAGING_DIR) -name \*.png -a ! -type l -exec pincrush -i {} \;
    find $(THEOS_STAGING_DIR) \( -name \*.plist -or -name \*.strings \) -exec plutil -convert binary1 {} \;
endif
DHowett commented 5 years ago

This isn’t a very helpful bug report :( From the report, I can’t tell what the input was, what the output was, any characteristics about the PNG, any output from the program, or anything else.