Sign in to follow this  
Followers 0
Andrew Sparkes

Image Reading, Writing, And Manipulation

4 posts in this topic

Is there any way in autoit to read and manipulate, and then save a picture? I looked around the scripts and scraps forum as way as the help file, and all I found was LazyCat's ImageGetInfo udf.

The best way I could think of to do what I want, would be to read each pixel into autoit as a hex or decimal color into an array. A very large array.....

Is there anything like that that anyone knows of? Like a _ReadImageIntoArray() function or similar?

If I wanted to modify images in autoit, how would I go about doing so? I can only hope that it is simpler than what is inside LazyCat's udf...

Could the gd library for php be used in autoit? or perhaps the CImg library in C++?

Is there a way to read an image, then use a Pixelcolorsearch type process then replace a certain color? or pattern of colors?

I would post code, but I have little idea where to start...


---Sparkes.

Share this post


Link to post
Share on other sites



Is there any way in autoit to read and manipulate, and then save a picture? I looked around the scripts and scraps forum as way as the help file, and all I found was LazyCat's ImageGetInfo udf.

The best way I could think of to do what I want, would be to read each pixel into autoit as a hex or decimal color into an array. A very large array.....

Is there anything like that that anyone knows of? Like a _ReadImageIntoArray() function or similar?

If I wanted to modify images in autoit, how would I go about doing so? I can only hope that it is simpler than what is inside LazyCat's udf...

Could the gd library for php be used in autoit? or perhaps the CImg library in C++?

Is there a way to read an image, then use a Pixelcolorsearch type process then replace a certain color? or pattern of colors?

I would post code, but I have little idea where to start...

look for spraypaint script in scripts and scraps. it takes an image from a paintbrush window, then redraws it on screen. you should be able to learn from his application of the concepts you're looking researching.

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Is there any way in autoit to read and manipulate, and then save a picture? I looked around the scripts and scraps forum as way as the help file, and all I found was LazyCat's ImageGetInfo udf.

The best way I could think of to do what I want, would be to read each pixel into autoit as a hex or decimal color into an array. A very large array.....

Is there anything like that that anyone knows of? Like a _ReadImageIntoArray() function or similar?

If I wanted to modify images in autoit, how would I go about doing so? I can only hope that it is simpler than what is inside LazyCat's udf...

Could the gd library for php be used in autoit? or perhaps the CImg library in C++?

Is there a way to read an image, then use a Pixelcolorsearch type process then replace a certain color? or pattern of colors?

I would post code, but I have little idea where to start...

Sorta like CorelDraw or PaintShop written in AutoIT script language?

Isn't there open source image manipulation programs you could get ideas from? I know they are not written in AutoIT, but maybe the algorithms and OS calls would be documented there and could be converted into AutoIT DLL calls. Of course you will have to master binary string manipulation in AutoIT, so maybe getting a good grasp of that would be advisable first.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Is there any way in autoit to read and manipulate, and then save a picture? I looked around the scripts and scraps forum as way as the help file, and all I found was LazyCat's ImageGetInfo udf.

The best way I could think of to do what I want, would be to read each pixel into autoit as a hex or decimal color into an array. A very large array.....

Is there anything like that that anyone knows of? Like a _ReadImageIntoArray() function or similar?

If I wanted to modify images in autoit, how would I go about doing so? I can only hope that it is simpler than what is inside LazyCat's udf...

Could the gd library for php be used in autoit? or perhaps the CImg library in C++?

Is there a way to read an image, then use a Pixelcolorsearch type process then replace a certain color? or pattern of colors?

I would post code, but I have little idea where to start...

There is a great freeware (for personal use) image viewer/manipulation program called IrfanView 32 that has a great batch processing mode and command line options for image manipulation. You can even script manipulation like contrast/bright, sharpness, etc., and convert almost any raster image format. You can download it from twocows.com

Edited by billmez

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