Jump to content
Sign in to follow this  
Zonarius

Open PNG file and get pixels

Recommended Posts

Zonarius

Hi!

First of all I'd like to say that AutoIt is a great language.

I want to know how I can open a png file a get the color of a specific pixel.

I could't find anything in Auto3lib and I also tried gdi32.dll but this didn't help me.

Something like this would be nice:

GetPixel("Filename", x, y)

-Zonarius

Share this post


Link to post
Share on other sites
Zonarius

No one got an idea? =(

Share this post


Link to post
Share on other sites
Valuater

EDIT; OK, not going to work

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites
weaponx

Valuater - That method is no good, since he needs to extract exact pixels relative to the left/top origin of said picture.

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  

×