Hi,
there is no way for a script to find out what size a texture has. Many people are using to large textures. If a script can automatically reject a Texture if it is to large it would be an start of increasing client speed.
For example:
If someone creates a house with automatic texture replacement. The owner can give a texture to inventory or tell the house the UUID. The creator knows the size of his house and knows to that it make no sense to put in a texture larger than 256x256 and he would include it to the texture changing script.
Even better:
A script can resize the texture, for example make a 256² from a 512²
Or just a client option: (ex.) Auto resize skin texture larger than 512²