friends Posted November 27, 2005 Share Posted November 27, 2005 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. Link to comment Share on other sites More sharing options...
Greenseed Posted November 27, 2005 Share Posted November 27, 2005 (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 November 27, 2005 by Greenseed GreenseedMCSE+I, CCNA, A+Canada, QuebecMake Love Around You. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now