Friday, April 11, 2008

Convert apple encrypted img2 file to png

(1) get the source code from
http://pastebin.ca/977711
and name to it img2png.c

(2) get the libpng file from http://www.libpng.org/pub/png/libpng.html

(3) compile with
gcc img2png.c -lcrypto -lpng -o img2png


(4) Run
./img2png applelogo.img2 applelogo.png

No comments: