closed #2522: Let Image::initWithImageData() support the packed data.
closed #2522: Fix some coding style.
closed #2522: Fix compile error.
issue #2522: fix some wrong indent.
Merge pull request #3414 from boyu0/iss2522_unpackccz

closed #2522: Let Image::initWithImageData() support the packed data.