08-24-2004 12:51
This might not be the most usefull thing to have, but it could come in handy every now and then...

list llGetImageSize(string imagename);

Would return a list: width,height

string imagename would be an image in the scripts/objects inventory. Would of course work for both "Photos" and "Textures".

Usefullness would be for determining the size of an image when you are unsure of the size of the image. Could be used for say a picture display where you have multiple images to go through but want the prim to change shape so the image can be in its native resolution.

I can only think of so few uses for this though, hence it probably would be one of those lesser important things to implement. If anyone else can think of uses for this, go ahead and post. Or if theres a way to do this already that I'm missing let me know.
_____________________
"Don't anticipate outcome," the man said. "Await the unfolding of events. Remain in the moment." - Konrad