Jump to content
fearless1

GUI IMAGES

Recommended Posts

fearless1

Hi Guys,

 

I am working on a GUI interface and need some help as I am not too sure where to start. I have a basic Gui that has 4 pics loaded from the script directory (imagea.jpg, imageb.jpg,imagec.jpg,imaged.jpg). Where I am stuck is when the GUI loads, I need the images to be rotated by 90 degrees CCW (this way they can be viewed the right way up without actually changing the file). 

Any examples or help you can give me would be great. 

Thanks Guys

Mike.

Share this post


Link to post
Share on other sites
JLogan3o13

Is there any reason you cannot simply save copies of the picture files with them rotated the way you want them, rather than doing all the processing in-script?


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
fearless1

Is there any reason you cannot simply save copies of the picture files with them rotated the way you want them, rather than doing all the processing in-script?

Post processing requires the image to stay in it's original orientation and format - no changes. Believe me, I would love to just rotate the images and be done with it but unfortunately it's a no go. Can only load a "preview" in the app.

 

Thanks

Share this post


Link to post
Share on other sites
jvds

search for _GDIPlus_GraphicsRotateTransform in autoit help, the example in the help file actuialy have an image you can rotate with the mouse

Share this post


Link to post
Share on other sites
UEZ

To rotate an image in 90° degrees you can use the function _GDIPlus_ImageRotateFlip from the GDIPlus udf.


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

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

×