"geebs" wrote:
any good examples how to check whether a local image is portrait or landscape?
This assumes you're really only interested in knowing which dimension is greater, but...
Function IsLandscape(imagePath As String) As Boolean
bitmap = CreateObject("roBitmap", imagePath)
If bitmap <> invalid Then
Return bitmap.GetWidth() > bitmap.GetHeight()
End If
Return False
End Function
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)