Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

RotateImage from SuperContainer

Featured Replies

I'm looking to use the Scriptmaster function "RotateImage" on a PNG file I currently have stored on a server and managed with SuperContainer. I have the RotateImage function registered in my startup script, and everything is running smoothy with SuperContainer. Is there a way to pass the HTTP location from SuperContainer to the input variable "imgLocation" for the RotateImage function? With the following:

RotateImage ( "http://[serverAddress]/SuperContainer/Files/[AssetID]/PNG/[filename.png]" ; 90 ; "" )

... I'm getting the error:

"javax.imagio.IIOException: Can't get input stream from URL!"

I also tried using the "RawData" path but got the same error. Any help would be appreciated, thanks.

Prob,

Passing in RawData/ should be all that's necessary here, but after some initial testing locally it seems as though this is a small bug in SuperContainer. You can however workaround this by passing in both width and height URL parameters for the image. For example:

RotateImage( "http:/[serverAddress]/SuperContainer/RawData/[AssetID]/PNG?width=550&height=230" ; 90; "" )

I hope this helps,

  • Author

That it did it; thank you for the prompt reply and help. Also, for anyone referencing this in the future, it's necessary to pass the filename to the RotateImage function, which is easy enough to do with SCGetInfo.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.