Sign in to follow this  
Followers 0
MerkurAlex

Return part of image.

2 posts in this topic

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]

Share this post


Link to post
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.

Share this post


Link to post
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
Sign in to follow this  
Followers 0