Jump to content

load image and read pixel


eitan
 Share

Recommended Posts

  • Moderators

Have to say:

i tried using imagesplashon but it didnt work

I hadn't heard of this function imagesplashon() in autoit? B)

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

thanks a lot larry!!

i am still having a problem.

i am getting the result FFFFFF no matter what image i use

can u help?

is their a difference if i use bmp,gif or jpg?

thanks again

this loads an image and msgboxs the (RGB) color at 62,82.

Link to comment
Share on other sites

  • 7 months later...

hi, i am going to do some simple image processing.

The code does work, thanks a lot!!!

If you have trouble:

make sure you define the path of the file properly (e.g. 'c:\mypic.bmp')

also make sure that the pixel coordinate is not out of the image,

otherwise unfortunately, in both cases the program will answer FFFFFF

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
 Share

  • Recently Browsing   0 members

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