ipad - 从应用程序中提取图像?
有没有办法从我下载的应用程序中提取图像?
我可以在 Android 上执行此操作,但 iPad 上可以吗?
is there a way to extract images from an app I downloaded?
I can do this on Android, but iPad?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
是的。在“音乐/iTunes/移动应用程序”文件夹中找到 app .ipa 文件。在某处复制一份并将其重命名为 .zip 文件。解压缩文件。在 Payload 文件夹中,右键单击 .app 文件并选择“显示包内容”。您现在可以访问该应用程序的所有资源。
PNG 文件将针对 iPhone 进行编码,并且需要进行转换才能在 Mac/PC 上查看。有几个实用程序可以实现此目的。
我已经使用 atPeek 来自动化整个过程,但它不是一个免费的应用程序(我认为它是 5 美元): http://www.at Purpose.com/atPeek/
Yes. Find the app .ipa file in your "Music/iTunes/Mobile Applications" folder. Make a copy somewhere and rename it to a .zip file. Unzip the file. In the Payload folder, right click on the .app file and select "Show Package Contents." You can now access all of the app's resources.
PNG files will be encoded for the iPhone and need to be converted to be viewable on your Mac/PC. There are several utilities for this.
I've used atPeek to automate this entire process, but it isn't a free application (I think it's $5): http://www.atpurpose.com/atPeek/
从 iOS SDK 3.2(及更高版本)开始,您可以使用
pngcrush
撤消 iOS PNG 优化。使用命令:
请参阅 http://developer.apple.com/library /ios/#qa/qa1681/_index.html 了解完整信息。
iOS SDK 可在以下位置免费下载: http://developer.apple.com/devcenter /ios/index.action
您可以下载
pngcrush
,而无需从以下位置下载 iOS SDK:http://pmt.sourceforge.net/pngcrush/Starting with iOS SDK 3.2 (and up) you can use
pngcrush
to undo the iOS PNG optimizations.Use the command:
See http://developer.apple.com/library/ios/#qa/qa1681/_index.html for complete info.
The iOS SDK is available for free download at: http://developer.apple.com/devcenter/ios/index.action
You can download
pngcrush
without downloading the iOS SDK from: http://pmt.sourceforge.net/pngcrush/在最新的 xcode 中,路径为:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush
...因此请确保在中编辑路径png粉碎.png
另外,(对于菜鸟来说),如果由于文件还不是可执行文件而导致
权限被拒绝
,请执行chmod +x [文件名]
In the latest xcode the path is:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush
... so make sure you edit the path in pngcrush.
Also, (for noobs), if you get
permission denied
its because the file is not an executable yet, dochmod +x [filename]
好吧,Cédric Luthi 有一个很棒的 github 项目可以做到这一点:
https://github.com/0xced /UIKit-Artwork-Extractor
它可以浏览和提取iOS内部图稿以及iTunes中任何ipa文件的图稿。
Well, there's a great github project by Cédric Luthi to do this:
https://github.com/0xced/UIKit-Artwork-Extractor
It can browse and extract the iOS internal artwork as well as the artwork of any ipa file in iTunes.
提取 ipa 文件的内容(根据 @TomSwift 的答案)
我编写了这个 PHP cmd 行脚本,该脚本将转换/uncrush目录中的所有图像。这是一个命令行脚本,仅在 OSX 上进行了测试。
参数:
使用示例:
脚本来源:
我今天编写了这个脚本供自己使用,我希望它对其他人有用。请随意修改并重新发布到其他地方,但请链接回此答案。
Extract the contents of the ipa file (as per @TomSwift's answer)
I wrote this PHP cmd line script that will convert/uncrush all images in a directory. It's a cmd line script and is tested on OSX only.
Arguments:
Example Use:
Script Source:
I wrote this script for my own use today, I hope it is of use to someone else. Feel free to modify and repost elsewhere, but please link back to this answer on SO.
这里有一篇文章如何在 shell 脚本中使用
pngcrush
,循环和转换所有图像:希望这有帮助。
Here an article how to use
pngcrush
in shell script, looping and converting all images founded:hope this helps.
我发现从 iPad/iPhone 应用程序中提取图像并直接从设备访问图像的最佳工具是 iFunBox
访问 http://www.i-funbox.com/ 获取
The best tool I found to extract images from iPad/iPhone apps accessing them directly from the device is iFunBox
Get it at http://www.i-funbox.com/