Is it possible to crop an image?
I have scanned a photo and i want to cut off all the blank parts, is there a way to take only a part of an page?
Thank you
There's no simple CropImage function but you can
do the two steps that CropImage would do:
1. Create new image with size the same as desired crop rectangle (NewImage)
2. Copy part of the original image to the new one (CopyRect) with proper SrcX and SrcY parameters.
Thanks.
I figured it out with what you mentioned :)