Prob Posted March 28, 2012 Posted March 28, 2012 Is there a way to retrieve the pixel dimensions of an image stored through SuperContainer?
ooparah Posted April 9, 2012 Posted April 9, 2012 Hey Prob, I apologize that I missed this question. Yes, this is possible, you can use the SCGetInfo companion plug-in function with the following parameter: SCGetInfo( "path/to/your/file" ; "dimension" ) You can also get the height and widths specifically by passing those in as well. SCGetInfo( "path/to/your/file" ; "height" ) SCGetInfo( "path/to/your/file" ; "width" ) I hope this helps. Regards,
Prob Posted April 9, 2012 Author Posted April 9, 2012 Great, thank you - this will be very helpful for some zoom in/out buttons I'm adding for a SC web viewer.
holstermedia Posted August 12, 2014 Posted August 12, 2014 this doesn't seem to work for any tif files with latest SC on a mac Is there a workaround?
Recommended Posts
This topic is 3824 days old. Please don't post here. Open a new topic instead.
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