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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Image Display Issue
« previous next »
  • Print
Pages: [1] 2

Author Topic: Image Display Issue  (Read 4465 times)

Offline mschneider

  • Member
  • *
  • Posts: 235
Image Display Issue
« on: June 28, 2007, 02:58:14 PM »
Alright, so i've got some of my theme work done. I have a backdrop, battery etc. images. And then i try to display these new images i made in GIMP. They are saved as 24bit BMP but display as transparentish on my sim. I know that the space where the image is supposed to be is being filled because if i place text inside of that area the text disappears, but the image is not showing up. Any ideas?
Logged

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Image Display Issue
« Reply #1 on: June 28, 2007, 07:20:47 PM »
Okay, i think i've found the problem... not sure how to fix it though. I've found that the images are fine, if i display only the image (ex my entire code is:
Code: [Select]
%xl|a|image.bmp|34|34|
%xda
)
Then every image will display if i do this, but then i could only have one image in my wps. I've found that certain letterrs assigned to images will not display, wich is odd because other images i've used display fine using all letters. I'll download another copy of the sim to see if it'll work  but i doubt it will because i'm having the same problem when using it on my sansa player. If anybody has any idea what i'm doing wrong help would be apprecieated.
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: Image Display Issue
« Reply #2 on: June 28, 2007, 08:03:52 PM »
Put everything in a zip file and upload it.
Logged

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Image Display Issue
« Reply #3 on: June 28, 2007, 08:21:24 PM »
I'm not allowed to upload zip files...
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: Image Display Issue
« Reply #4 on: June 28, 2007, 08:51:17 PM »
Can you show all of your code (with the text part)
Logged

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Image Display Issue
« Reply #5 on: June 28, 2007, 09:09:11 PM »
Yes. I've really only written so much as to try and display the images i've been having trouble with:


Code: [Select]
%xl|a|CFL1.bmp|1|73|
%xl|b|CFL2.bmp|1|73|
%xl|c|CFL3.bmp|1|73|
%xl|d|CFL4.bmp|1|73|
%xl|e|CFL5.bmp|1|73|
%xl|f|CFL6.bmp|1|73|
%xl|g|CFL7.bmp|1|73|
%xd

Here's also one of my images

[attachment deleted by admin for age]
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: Image Display Issue
« Reply #6 on: June 28, 2007, 09:57:42 PM »
ok then to display them you need %xda %xdb %xdc ... %xdg
I guess since they are all at the same x y cordinate that you are going to put them in a condition tag like

%?mp<%xda|%xdb|%xdc|...|%xdg>

What do these images represent? or What are you doing with these images?
« Last Edit: June 28, 2007, 09:59:39 PM by HWEB21 »
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Image Display Issue
« Reply #7 on: June 29, 2007, 02:48:22 AM »
From the look of the sample image, and the naming convention (i.e. CFLn.bmp) I'm guessing this is an attempt at something looking like Apple's Coverflow feature. Not quite sure what this is supposed to in a WPS though...
Logged

Read The Manual Please

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Image Display Issue
« Reply #8 on: June 29, 2007, 12:26:02 PM »
Yes it was like the coverflow. I have an animation that i am attempting to display during seeking and track changes but these images wont display. A couple will but then i guess they are just not being pre-loaded because when i try to display them nothing shows. Is it the size?
Logged

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: Image Display Issue
« Reply #9 on: June 29, 2007, 12:37:47 PM »
Yes,i think there is a limitation of the total size of all images (including Albumart).
As far as i know the total size shouldn't exceed twice the screen resolution.
Logged

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Image Display Issue
« Reply #10 on: June 29, 2007, 12:39:25 PM »
Aha, then i guess that what i'm trying to do is not possible unless there is a way around this.
Logged

Offline robin0800

  • Member
  • *
  • Posts: 291
  • Freeman
Re: Image Display Issue
« Reply #11 on: June 29, 2007, 01:32:54 PM »
Hate to mention it here but you could try this patch
FS#7289 - Allow upto 512 images to be used in WPS
this may just do what you want.

also see forum wps Topic: Allow upto 512 images on a WPS
« Last Edit: June 29, 2007, 01:34:31 PM by robin0800 »
Logged

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Image Display Issue
« Reply #12 on: June 29, 2007, 05:12:51 PM »
Thanks, I'll give it a try. But if what PaulJam said is right then i dont think that would help seeing as my images are a little too big (i have about 20 of those coverflow things).
Logged

Offline robin0800

  • Member
  • *
  • Posts: 291
  • Freeman
Re: Image Display Issue
« Reply #13 on: June 30, 2007, 09:49:01 AM »
But do you relise you could put your 20 coverflow things into just one bmp and then the rest is just wps coding to get the part you want each time.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Image Display Issue
« Reply #14 on: June 30, 2007, 10:25:03 AM »
It's not the number of images that is his problem, it's the size of them. There's a define in the code he can change for that, of course, but it takes away audio buffer. He could always make the custom WPS for himself but it wouldn't work for anyone else with a normal sized WPS buffer.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Image Display Issue
 

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

Page created in 0.106 seconds with 15 queries.