How to Crop an Image

OgreN00b

12-07-2013 16:06:50

I am using an ImageBox, and it is displaying an image. I need to be able to show only a portion of the image.

My original image:



Now I want it to look like this:



What would be the easiest way of doing this? Thanks.

Altren

13-07-2013 00:58:17

imageBox->setImageCoord(MyGUI::IntCoord(0, 0, imageWidth / 2, imageHeight));

OgreN00b

15-07-2013 15:39:45

Awesome, thank you!