ALawrence007
asked on
Crop Image using VB.Net
Hi to all,
I need to crop images based on the X and Y value. I also have the width and height.
How would I go about in doing that?
Thanks
I need to crop images based on the X and Y value. I also have the width and height.
How would I go about in doing that?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Abel,
I got it working in the end.
Thanks
I got it working in the end.
Thanks
> but all it does is display the original image to me. am I missing something?
You either missed to clear and redraw the image, or to paint something else (a background) in the parts you did not cover, otherwise the original image stays put. You can also use a different Picture control as a target to see how it works.
Good to hear you got it working. :)
You either missed to clear and redraw the image, or to paint something else (a background) in the parts you did not cover, otherwise the original image stays put. You can also use a different Picture control as a target to see how it works.
Good to hear you got it working. :)
ASKER
I tried the code you supplied, but all it does is display the original image to me. am I missing something?
Thanks