Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::image::ResizeImageEx Function
C++
__cdecl IMAGE_PROC void ResizeImageEx(Image pImage, S_32 width, S_32 height DBG_PASS);
void (* ResizeImageEx)(Image pImage, S_32 width, S_32 height DBG_PASS);

Change the size of an image, reallocating the color buffer as necessary. 

Parameters 

Remarks 

If the image is a sub image (located within a parent), the subimage view on the parent image is updated to the new width and height. The color buffer remains the parent's buffer. 

If the image is a parent, a new buffer is allocated. If the previous buffer was specified by the user in RemakeImage, that buffer is not freed, but a new buffer is still created. 

 

Bugs 

If the image is a parent image, the child images are not updated to the newly allocated buffer. Resize works really well for subimages though.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!