Sign in to follow this  
Followers 0
Guest toutouffe

Image manipulation

9 posts in this topic

Hi, I have my image stored in $file (well the name at least).

First of all I was wondering how I could open the image (physicaly so I can see the picture)and how I could close it (these functions must be basic, but since I have a more complicated question, I might as well ask those ones).

Secondly, I would need to check the image's width...

I don't know if it's feasible, but I guess it is.

Thanks

Toutouffe

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

http://proxru.port5.com/udfs.html

That's a link to LazyCat's UDF for getting and iamge width and height. As for displaying the picture look at GUICtrlCreatePic() int he help file.

Edited by Burrup

[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

Share this post


Link to post
Share on other sites

cheers !

:)

Share this post


Link to post
Share on other sites

http://proxru.port5.com/udfs.html

That's a link to LazyCat's UDF for getting and iamge width and height. As for displaying the picture look at GUICtrlCreatePic() int he help file.

<{POST_SNAPBACK}>

I don't understand, I took the script from the link. When I execute his script it works fine, but I use it in my script, it doesn't accept the size[0], it says there is a probleme with the [0]...size[0] gives a size^ERROR

Share this post


Link to post
Share on other sites

show us your script and maybe we can see where the problem is

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

to use UDF's do you just use the #include command?

Share this post


Link to post
Share on other sites

to use UDF's do you just use the #include command?

<{POST_SNAPBACK}>

You can do that, or just include them as text in your own script. Just make sure you include all the commented text with it. (if it has any).

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

LazyCat has just undated and released new versions, look in 'Scripts and Scraps'.


[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

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