# ImageStripTool **Repository Path**: lulee007/ImageStripTool ## Basic Information - **Project Name**: ImageStripTool - **Description**: png strip,将不符合png iCCP标准的图片通过转换来去除在android studio中build时产生的警告。 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-08-12 - **Last Updated**: 2021-05-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #ImageStripTool 在AndroidStudio中,编译时出现警告: xxx.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited 据说原因是新版本的libpng对关于iCCP采用了更严苛的约束,所以用工具把iCCP的内容去了就可以了。 ##用法: 1、直接指定main.java中的 sourceFolder ```java sourceFolder = "/path to your image folder/"; ``` 2、将工程编译,打包jar文件,在命令行中执行: ```bash java -jar "/path to your imagestriptool.jar" "/path to your image folder/" "/path to your image save folder/" ``` 或者 ```bash java -jar "/path to your imagestriptool.jar" "/path to your image folder/" ```