fearless1 Posted June 29, 2015 Share Posted June 29, 2015 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 GuysMike. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted June 30, 2015 Moderators Share Posted June 30, 2015 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? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
fearless1 Posted June 30, 2015 Author Share Posted June 30, 2015 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 Link to comment Share on other sites More sharing options...
jvds Posted July 1, 2015 Share Posted July 1, 2015 search for _GDIPlus_GraphicsRotateTransform in autoit help, the example in the help file actuialy have an image you can rotate with the mouse Link to comment Share on other sites More sharing options...
UEZ Posted July 1, 2015 Share Posted July 1, 2015 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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ 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