Jump to content

Defining a crop


crash893

Recommended Posts

I was wondering if anyone could help me with a project i have for work (vb.net or c# I can do either)

I want to import a file into a pictrebox and then draw a a crop around an area i need and then export that cropped image to a new directory.

I know that paint.net doesn't have much in the way of scripting so im writing it myself

so far i can import the photo but im having trouble with the drawing part because it seems that rectangle that i draw is relative to the picturebox and not the photo ( if i set the option to "zoom" mode) also im not sure how to trigger a rectangle on a mouse coronate clicks or drags

right now im pretty confused so any direction you can point me would be very helpful.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...