If I want to modify the data when the picture loaded in memory,what measure I can take in the cocos2d-x source code.

For example, I have a jpg picture. As we know, the first step of render is load the picture to the memory. If I want to modify the data in memory (the class is CCImage or CCTexture),such as magnifies 2 diameters,what measure I can take in the cocos2d-x source code.

magnifies 2 diameters = double the size?

_mSprite->setScale(2.0f);

@corytrese First, my project was finished, if I use setSCale(),I will modify about 160 file. In addition, this requirement only be complete once time. So modify the CCImage() maybe is the best choice.Finally, I also check the libpng, i do not understand how to modify the data of RGBA.