Jump to content

Return part of image.

Recommended Posts

Ok i have an image that is basically several images next to each other and i need to be able to return part of the image for example xstart,ystart,xend,yend where it would return an image based on the start and end variables is this possible with autoit?

[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

Link to comment
Share on other sites

I'm not sure if this is what you're looking for since I haven't tried it myself but I'll give it a shot.

Have you checked out the GuiImageList UDF? This might be what you're looking for.

You wouldn't be able to access the image directly based on Cartesian co-ordinates for the corners, but using the image size and a bit of math you can figure out the index in the ImageList.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...