Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: Revivalist on July 19, 2019, 11:36:51 AM

Title: Using Album artwork as background
Post by: Revivalist on July 19, 2019, 11:36:51 AM
Hello,

I recently found my iPod classic and wanted to bring it back to life with a completely new interface I saw a concept of an iPod classic in 2019, it looked amazing and I wanted to recreate the look.

I was wondering whether anyone knows how to use the album artwork as the background with a blur effect on it.
Title: Re: Using Album artwork as background
Post by: Frankenpod on July 19, 2019, 03:50:25 PM
I think you'd have to rewrite the Rockbox code for displaying album art.  I have wished I had the skill to do that - there are a number of manipulations it would be nice to have (e.g. rotating the cover art, either a  simple 90 degree rotation in the plane of the screen or using perspective distortion to rotate it around an axis in that plane a bit like how it works in the cover flow plugin).  Putting a blur effect would be another thing one could add to a more customisable cover-art display routine.  But my eyes glaze over every time I try to make sense of the existing code.

You can just display the cover art as normal, and then write text over it, as some themes already do.  But it's not quite the same as making it the background.
Title: Re: Using Album artwork as background
Post by: Revivalist on July 28, 2019, 11:36:35 AM
Hey, sorry for the late message I'm happy to play around with the code as I have a lot of programming experience. Is there a good tutorial on how to download and get access to the code?


Title: Re: Using Album artwork as background
Post by: Bilgus on July 28, 2019, 12:15:37 PM
https://www.rockbox.org/wiki/DevelopmentGuide
Title: Re: Using Album artwork as background
Post by: yuuiko on September 23, 2019, 04:36:09 AM
I've managed to get it working by putting the album art container in a %VB.

It works but not well, the whole thing glitches out on boot and on theme load, seems to show lots of visual trippiness when no album art is available.

it's also hard to read the text of the viewport, as the flat colour can conflict with the album art

SBS (For iPod Nano size):

Code: [Select]
%VB(0,0,176,132,-)
%Cl(0,0,176,176)
%?C<%Cd|>

(https://puu.sh/EknTV/02baea89cf.png)
(https://puu.sh/EknTK/9df1fd10f9.png)
Title: Re: Using Album artwork as background
Post by: cereal_killer on September 23, 2019, 11:41:12 AM
may be this helps, but a theme for the X5 by dfkt has album art as background too. At least the progress bar and the vu meter are in the foreground: http://themes.rockbox.org/index.php?themeid=1546&target=iaudiox5