• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

Cropping image possible?

Started by pka4916, 23 May 2019, 01:26:17

Previous topic - Next topic

pka4916

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

Galfar

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.

pka4916

Thanks.
I figured it out with what you mentioned :)

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name:
Email:

Shortcuts: ALT+S save/post or ALT+P preview

SMF spam blocked by CleanTalk