有没有办法从我下载的应用程序中提取图片?
我可以在安卓上做到这一点,但是iPad?
发布于 2011-01-06 03:57:39
是。在“音乐/iTunes/移动应用程序”文件夹中找到应用程序.ipa文件。在某处复制一份,并将其重命名为.zip文件。解压缩该文件。在Payload文件夹中,右键单击.app文件并选择“显示包内容”。现在,您可以访问该应用程序的所有资源。
PNG文件将编码为iPhone,并需要转换为可在您的Mac/PC上查看。有几个实用程序可以做到这一点。
我已经使用atPeek自动化了整个过程,但它不是一个免费的应用程序(我想它是5美元):http://www.atpurpose.com/atPeek/
发布于 2011-12-17 19:37:11
从PNGSDK3.2(及更高版本)开始,您可以使用pngcrush
来撤消iOS iOS优化。
使用以下命令:
$ /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -revert-iphone-optimizations "~/Path/To/The/Apps.app/Image.png" "~/Path/To/Place/The/Reverted/Image.png"
有关完整信息,请参阅http://developer.apple.com/library/ios/#qa/qa1681/_index.html。
可从以下网址免费下载iOS软件开发工具包:http://developer.apple.com/devcenter/ios/index.action
您可以从以下网址下载pngcrush
,而无需下载iOS SDK:http://pmt.sourceforge.net/pngcrush/
发布于 2012-06-19 10:49:23
在最新的xcode中,路径是:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush
..。因此,请确保在pngcrush中编辑路径。
另外,(对于not ),如果因为文件还不是可执行文件而获得permission denied
is,则执行chmod +x [filename]
https://stackoverflow.com/questions/4611402
复制相似问题