Moode Forum
Cover Art not square on 7" display - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Cover Art not square on 7" display (/showthread.php?tid=1625)

Pages: 1 2 3


RE: Cover Art not square on 7" display - TheOldPresbyope - 08-15-2019

You going to tell REI you found a survivalist use for its dividend card?


RE: Cover Art not square on 7" display - JST1963 - 08-15-2019

(08-15-2019, 09:00 PM)TheOldPresbyope Wrote: Maybe this Raspberry Pi Forum thread on non-square pixels?

Regards,
Kent

Kent, you're a genius...

Code:
framebuffer_width=800
framebuffer_height=444
sdtv_aspect=1

This works for me. The size of the cover art is horizontally the same as vertically. Now I only have to get rid of the scrollbars on the right...
Thx Kent !!!


RE: Cover Art not square on 7" display - JST1963 - 08-15-2019

You're funny guys....but still, there IS a difference.... thnaks to Kent, there isn't anymore...:-)
I may be old, but I can still see very well....(thanks to my glasses)


RE: Cover Art not square on 7" display - Tim Curtis - 08-15-2019

To convert the fixed scrollbars to overlay scrollbars look at the Build Recipe.
https://github.com/moode-player/moode/blob/develop/other/build/build_recipe_v2.11.txt

COMPONENT 8 - Local UI display
4. Configure Chrome Browser

I've never been able to figure out how to automate this...


RE: Cover Art not square on 7" display - JST1963 - 08-15-2019

Knew where to do this. But thx anyway!

But I think Swizzle has to look at this problem...it's minor but it's ther Smile


RE: Cover Art not square on 7" display - Tim Curtis - 08-15-2019

I tried to repro it in my simulator but no luck cos my monitor displays square pixel. I suspect that there is no way to control pixel aspect ratio in CSS. This is more of a display firmware thing. I could add it as a setting if it turns out thats the only way but it's not going to make the cut for the 6.0.1 update which I hope to release this weekend :-)


RE: Cover Art not square on 7" display - JST1963 - 08-15-2019

If it's not possible to solve it using code, just add it to the manual as a setting for 7" display users. I know now what to do, so I won't nag about it anymore :-)


RE: Cover Art not square on 7" display - swizzle - 08-16-2019

(08-15-2019, 09:39 PM)JST1963 Wrote: Knew where to do this. But thx anyway!

But I think Swizzle has to look at this problem...it's minor but it's ther Smile

What screen is the spurious scrollbar on?

I wouldn’t have any way to replicate something specific to the Pi touchscreen but an image would help understand what’s going on.


RE: Cover Art not square on 7" display - JST1963 - 08-16-2019

The scrollbars are gone, that was not a real issue.
The main problem was the fact that the cover art on the 7" display, both in normal view and in coverview, was not square, even though the original jpeg is 800 by 800. Kent found a thread on a Pi forum where they talk about non-square pixels, and that solved my problem.
I'm not really sure you can solve this because it's more a HW problem, but hey, I heard you're some kind of wizard :-)


RE: Cover Art not square on 7" display - swizzle - 08-16-2019

It’s possible to scale things non-uniformly in css (see https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale) but using whole page transforms can and usually does lead to other problems. If those lines added to config.txt fix the problem then a mechanism (aka button) that would add those lines in the localui section seems like the best solution.

If you don’t care about everything else being stretched and it’s just the album art that’s annoying we could add a non-uniform scale factor as above to the cover art in pi touchscreen css.