function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bannubannu 

Image properites

hi,

 

i have an url with image,

 

i need to store the properties like width and height of that image seperately into two fields named width and height.

 

urgent please

 

thanking you

Best Answer chosen by Admin (Salesforce Developers) 
RadnipRadnip
There are no methods that allow you to return the size of an image in apex that I know of. You could create a web service on heroku or something with returns the image details based on passing an image URL.

All Answers

RadnipRadnip
There are no methods that allow you to return the size of an image in apex that I know of. You could create a web service on heroku or something with returns the image details based on passing an image URL.
This was selected as the best answer
bannubannu

thank you