Skip to content

transfer pdf file inside xcassets to png and modify Contents.json

License

Notifications You must be signed in to change notification settings

crespoxiao/PDF2PNG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

PDF2PNG

自动转换 xcassets 里面的 pdf 文件为 png 文件,同时修改 Contents.json 文件,目的就是 Xcode 工程不用 pdf 矢量图,相信很多人会面对瘦身需求,希望这个工具对你有用。

Usage

需要安装 Ghostscript,brew install gs 使用示例 ./pdf2png.sh xx.xcassets

Author

CrespoXiao http://weibo.com/crespoxiao

License

Available under the MIT license. See the LICENSE file for more info.

About

transfer pdf file inside xcassets to png and modify Contents.json

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages