- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Issue with rotated poster - orientation image metadata
I encountered a problem with rotated graphics. Unlike on all other platforms that we support the image correctly rotates to portrait, but on Roku it remains landscape. From what I noticed, this is caused by the image metadata in which the width is actually greater than the height ("image_size: 3088x2316"), while the orientation parameter is omitted, which states that the image has been rotated by 90 degrees ("orientation: Rotate 90 CW").
To solve this issue, I first tried to save the graphics to a file on the device and then read the metadata using roimageMetadata to rotate the image yourself. Unfortunately, I was not able to save our graphics to a file, which may be due to the characteristics of our backend. But that is not the topic of this thread. Naturally, the simplest solution would be to change or compress the image, but this is a rather short-lived solution.
Image metadata: