Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How can I tell what the size of an image is from it's asset ID?

Asked by 9 years ago

How can I dynamically size images to the size they were uploaded as?

1 answer

Log in to vote
1
Answered by
1waffle1 2908 Trusted Badge of Merit Moderation Voter Community Moderator
9 years ago

This was a topic on the developer forums a couple weeks ago. This was MrNicNac's solution:

The solution is to use HttpService to query a server which has code with level enough to read a given image.

For instance, I'd use Python. I'd send a POST to my server with the desired image. Have python get that and just return the image size.

0
Interesting thanks :) YellowoTide 1992 — 9y
Ad

Answer this question