A Python Script to convert Normal PNG Image to Apple iDOT PNG Image (Multi-threaded Decoding PNG).
idotpngencoder.py -i <inputfile> -o <outputfile> -t <threadnumber>
- inputfile & outputfile: That’s it. Of course input file must be a PNG file.
- threadnumber: Determines the number of image section, minimum is 2
- The precise format of iDOT chunk now we known is here http://lrd.tw/LX9E. Just go further than before.
- The speed of this task with Python is too slow and dangerous. Do not use this script in Production Environment.