Sign in to follow this  
Followers 0
friends

How to scale down larger picture ?

2 posts in this topic

I wonder if I can scale down the larger picture size into the size that I want by using GUICtrlCreatePic ?

Please help.

Please show me an example, that would be greatful.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

by default the func

GuiCtrlCreatePic()
do resize zoom in or out on the image to fit the

GuiCtrlCreatePic() SIZE. you can after rezise the box but the image don't resize from original but from previous resize!

exemple you open a 1024x768 jpg file in a 320x240GuiCtrlCreatePic() after you resize the box at 640x480 then you got a 320x240 image resolution zoomed a 640x480. the result is not very nice! the solution reside in: deleting the GuiCtrlCreatePic() and recreate a new one for the updated size! more slower but better quality!

and check the function "GUICtrlSetResizing ( controlID, resizing )" with beta version 3.1.1.90. by default it off.

and if! your question was not for gui but a resize on the image file! search for ImageMagik pretty nice command tool to play with any image! easy to add in autoit! and capture progress% with the StdoutRead().

if you nead more help ask! maybe i can wrote you some line! to help start!

bye bye!

Edited by Greenseed

GreenseedMCSE+I, CCNA, A+Canada, QuebecMake Love Around You.

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