Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
YungBlood
Streaming Star

Image Dimensions??

Is there an easy way to find the dimensions of an image (jpg if it matters)? I'm drawing it in a roImageCanvas, and I don't want it stretched when it's scaled. I've looked, and I don't see an easy way to find that out.
YungBlood

Bringing more fun to Roku!
0 Kudos
1 REPLY 1
RokuJoel
Binge Watcher

Re: Image Dimensions??

if you download the image to tmp:/, you should be able to use the exif functions to get the dimensions. Otherwise, it would help to know the dimensions before you download.

- Joel
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.