Is possible to get the pixel dimensions of a graphic file at runtime, so as to be able to dynamically resize a "frame" around the graphic based on its dimensions?
Dim bEx As BitmapExtended
Dim iHeight As Int
Dim iWidth As Int
iHeight = bEx.getHeight(LoadBitmap(File.DirAssets, "sample.png"))
iWidth = bEx.getWidth(LoadBitmap(File.DirAssets, "sample.png"))
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.