Support and General Use > Theming and Appearance Customization
Im trying to edit a theme on Fuze
smartinez281:
Hello. I am trying to edit the SpartanBlack theme on the Sansa Fuze, I am trying to have the album art stretch out to fill out a wider area. The enclosed image further explains what I mean.
What is in white, I want to be nothing but album art, and below it, the %t and %a info scrolling by.
I cant seem to get the parameters correct for stretching out the album art. Any advice?
karashata:
I think the current way the art is handled is to automatically scale it to fit into the area provided for it, I don't know if there is an option to stretch it to fill the given space...
Checked the CustomWPS page and the AlbumArt page on the wiki and all I could find were alignment tags, nothing to stretch an image to fill the space. Looks like there's nothing you can do since the way it's handled is to scale it to fit into the space and align it to whatever position specified...
EDIT: apparently you can call the %C tag without a defined maxwidth and maxheight, which would disable the automatic resizing, however, I'm not sure you could still display an album art image the way you want to since it would have to be no higher than the height of the player's screen (so any square art would have space on either side of it), and you'd have to draw your text and images over it since you can't have it start drawing off screen (as far as I know anyway the WPS engine doesn't allow drawing off screen).
Ste-:
Not sure how it's done either but loking at some of the other themes that seem to have the same effect maybe check their code ?
Such as....
http://themes.rockbox.org/index.php?themeid=253&target=sansae200v2
karashata:
I imagine that theme maker is using specifically made album art images for his or her theme and an album art viewport shaped and sized for those images. I would suspect a square album art image would be centered in that viewport (unless the coder aligned it to one side or the other).
audio-i:
Karashata is right about having to pre-format the album art images as the only way at the moment to give a "perfect" widescreen effect, otherwise the original AA image will be cropped (not shown) at the bottom. Something similar was discussed here: http://forums.rockbox.org/index.php?topic=23440.0
Navigation
[0] Message Index
[#] Next page
Go to full version