Jump to content

GUI IMAGES


Recommended Posts

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.

Link to comment
Share on other sites

  • Moderators

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

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...