Remove All Ads from XDA

[APP] Img2Png Tool v1.1

2,946 posts
Thanks Meter: 12,422
By Ale95, Recognized Contributor on 21st September 2018, 10:09 PM
Post Reply Email Thread
Img2Png is a tool for extract and convert Samsung Image resources to PNG format for easy theming. This is just a simple wrapper tool that uses the Touchwiz Roms builting image loader to load the image samsung resources and then saving them back as png images. So it means that it will only work on Touchwiz 5.0 and up.

For use this tool the ROM must read samsung image resources, perhaps it can save them also to a different format to ease the theming process, Img2Png can convert successfully the following formats:


  • QMG
  • ASTC
  • WEBP
  • PIO
  • WBP
  • PKM
  • ATC
  • QIO

Img2Png cannot convert the following formats:

  • MIW
  • MIQ
  • SPR
  • BMP

So just download the app, install, and pick an apk from sdcard and the app will extract the qmg resources and convert them to png format and saving them in the Img2Png folder in the sdcard. The output folder retains the folder structure of the extracted apk including drawables and mipmap folders. The tool can't convert sucessfully .9.qmg, the tool only will convert it as normal png files so need to research or keep the original .9.qmg in case that the app use this format

Note: Use at your own risk and no guarantees that it will function as intended on your device, all credits goes to @xperiacle for part of the code of his awesome tool.
Attached Files
File Type: apk Img2Png_v1.1_sdk19-23.apk - [Click for QR Code] (34.9 KB, 126 views)
21st September 2018, 10:12 PM |#2  
Ale95's Avatar
OP Recognized Contributor
Flag Making our phone more awesome!
Thanks Meter: 12,422
Donate to Me
- Code optimization
- Added compatibility for some of the latest samsung image formats
- Fixed an error when is renaming .webp files to .png
- Now u can convert assets, drawables and mipmaps folders at the same time
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes