Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Album Art being clipped at the bottom
« previous next »
  • Print
Pages: [1]

Author Topic: Album Art being clipped at the bottom  (Read 1727 times)

Offline magnumforce2006

  • Member
  • *
  • Posts: 46
Album Art being clipped at the bottom
« on: March 08, 2008, 03:21:58 AM »
All right, I am stumped. For some reason, no matter how I edit the WPS settings, my album artwork will always appear BRIEFLY in its 100x100 format, and then a portion of the bottom will get cut off. Here's a pic for example



And here's my wps code:

Code: [Select]
# preloading images
%X|bg.bmp|
%P|pb.bmp|27|159|
# playback images
%xl|a|song_stop.bmp|6|163|
%xl|b|song_play.bmp|6|163|
%xl|c|song_pause.bmp|6|163|
%xl|d|ipod_battery0.bmp|282|6|
%xl|e|ipod_battery1.bmp|282|6|
%xl|f|ipod_battery2.bmp|282|6|
%xl|g|ipod_battery3.bmp|282|6|
%xl|h|ipod_battery4.bmp|282|6|
%xl|i|volume0.bmp|115|6|
%xl|j|volume1.bmp|115|6|
%xl|k|volume2.bmp|115|6|
%xl|l|volume3.bmp|115|6|
%xl|m|volume4.bmp|115|6|
%xl|n|volume5.bmp|115|6|
%xl|o|volume6.bmp|115|6|
%xl|p|volume7.bmp|115|6|
%xl|q|volume8.bmp|115|6|
%xl|r|volume9.bmp|115|6|
%xl|s|volume10.bmp|115|6|
%xl|t|hold.bmp|267|5|
%xl|u|rpt_on.bmp|294|155|
%xl|v|rpt_on1.bmp|294|155|
%xl|w|rpt_on_sh.bmp|294|155|
%xl|x|shf_on.bmp|278|154|
%xl|y|shf_off.bmp|278|154|
%xl|z|rpt_off.bmp|294|155|

# disable the status bar
%wd

    %in (%pp/%pe) %ar%cl:%cM

%?C<%m|112|%al%?ia<%ia|%?d2<%d2|(root)>>|%s%ac%?ia<%ia|%?d2<%d2|(root)>>>
%?C<%s%m|112|%al%?id<%id (%iy)|%?d1<%d1|(root)>>|%s%ac%?id<%id|%?d1<%d1|(root)>>>
%?C<%s%m|112|%al%?it<%it|%fn>|%s%ac%?it<%it|%fn>>

%?mp<%xda|%xdb|%xdc|%xdb|%xdb>
# progress bar : height, left position
%pb|26|27|

# current time, volume, time remaining
%?C<%m|5|%al  %pc %ac%pvdb %ar-%pr>
     %It


# cover art
%Cl|7|55|100|110|
%C

%?bl<%xdd|%xde|%xdf|%xdg|%xdh>
%?pv<%xdi|%xdj|%xdk|%xdl|%xdm|%xdn|%xdo|%xdp|%xdq|%xdr|%xds>
%?mh<%xdt>
# choose if you want the repeat-off icon to show:
# %?mm<%xdz|%xdu|%xdv|%xdw|%xdu>
%?mm<|%xdu|%xdv|%xdw|%xdu>
# choose if you wan the shuffle-off icon to show:
# %?ps<%xdx|%xdy>
%?ps<%xdx>


Any ideas?
Logged

Offline bzavala

  • Member
  • *
  • Posts: 102
Re: Album Art being clipped at the bottom
« Reply #1 on: March 08, 2008, 03:38:56 AM »
Have you tried putting the %C tag as the very last line of your WPS file?

I'm not sure but this way it'll be the last thing that will be drawn...


Also... did you mean to set your album size to 100x110:

%Cl|7|55|100|110|


try changing 110 to 100...
« Last Edit: March 08, 2008, 03:46:05 AM by bzavala »
Logged

Offline magnumforce2006

  • Member
  • *
  • Posts: 46
Re: Album Art being clipped at the bottom
« Reply #2 on: March 08, 2008, 03:56:02 AM »
The 110 was a little experiment, but it makes no difference.

And yes, I have tried putting it on the last line... Also futile  :(

It should also be metioned that I'm using Rockbox Daily build from March 3rd.
« Last Edit: March 08, 2008, 03:58:25 AM by magnumforce2006 »
Logged

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: Album Art being clipped at the bottom
« Reply #3 on: March 08, 2008, 04:38:46 AM »
My guess is rather that it actually displays a blank line there were your playback status conditional is. If your album art was bigger then it would probably be more noticable (there is a thread somewhere near that has a screenshot which makes it more clear).

I mean this code:
Quote
...
%?C<%s%m|112|%al%?it<%it|%fn>|%s%ac%?it<%it|%fn>>

%?mp<%xda|%xdb|%xdc|%xdb|%xdb>
# progress bar : height, left position
...
It is "used" to show the bitmaps but at the same time it inserts a blank line for spacing. I'd try to just have a blank line there and put the %?mp conditional more to the end, it shouldn't matter for displaying the images as they are placed with the help of the coordinates. (This is just my thought, haven't tried but I hope this helps.)
Logged

Offline magnumforce2006

  • Member
  • *
  • Posts: 46
Re: Album Art being clipped at the bottom
« Reply #4 on: March 08, 2008, 05:32:34 AM »
Aha! That did the trick. I simply moved the %?mp conditional line closer to the end, and the album art now appears fully. Thanks for the help!
Logged

Offline crash91

  • Artist
  • Member
  • *
  • Posts: 50
Re: Album Art being clipped at the bottom
« Reply #5 on: March 09, 2008, 11:20:33 AM »
Yes, usually when making a WPS I place all the conditionals at the end, after the last line to be displayed on my WPS so it doesnt interfere with the display.
Logged
Owner of a Rockbox'd Sansa e250.
Rockbox WPS maker.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Album Art being clipped at the bottom
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.08 seconds with 15 queries.