I'm creating a Cocos2D-X project under XCode for iOS. Then I'm planning to transfer the final code to Android.

What I'd like to do is to make a function to load images and resize them arbitrarily in memory. Then, from the resized image I will cut parts out of it and will create CCSprite objects... The real problem I have is to get a resized image before cutting parts. 

I know that Cocoa/UIImage can achieve that, but I don't won't to use Objective-c code so that the Android port will be easier. I want to do everything in C++/Cocos2D-X if possible.

I've tried to use ImageMagick Magick++ source code in my XCode project, but without luck because I can't compile it.
I've tried to use CCImage, but there no resizing function in it.

So my question is : Is there a way to do the resizing of image files in Cocos2DX? IS there an alternative way to reach my goal?

Thanks,Jean