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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Transparent Image problem in WPS
« previous next »
  • Print
Pages: [1]

Author Topic: Transparent Image problem in WPS  (Read 3247 times)

Offline digerati1338

  • Member
  • *
  • Posts: 60
  • Geek Genius
Transparent Image problem in WPS
« on: March 10, 2007, 08:56:51 PM »
I'm working on porting a WPS theme to the Sansa e200 since it will hopefully have sound soon.  My problem is that I can't get a transparent bitmap to work properly.  I set the area I want transparent to 255,0,255 in the GIMP and then save it as a Windows bitmap.  In the WPS, it shows the pink color instead of transparency.  It isn't anti-aliasing because there is pink everywhere, not just around the edges.
Logged

Offline JustJohnny

  • Member
  • *
  • Posts: 51
Re: Transparent Image problem in WPS
« Reply #1 on: March 11, 2007, 12:38:31 AM »
If the image used is being set as the background image, (using the %X tag in the wps), then the color will show as pink. There is no transparency color for background images.

If the graphic isn't being used as the background image, I'm not sure what the problem is.
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Transparent Image problem in WPS
« Reply #2 on: March 11, 2007, 05:23:18 AM »
Assuming it's not a background image, upload it somewhere and post a link here.  I'll be offline a lot of tomorrow but when I get back I'll be happy to take a look at it.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline digerati1338

  • Member
  • *
  • Posts: 60
  • Geek Genius
Re: Transparent Image problem in WPS
« Reply #3 on: March 11, 2007, 09:15:19 PM »
Here are the images I'm having problems with:


I'm not using any as a background.  

I'm not sure what the problem is.  Maybe it is a problem with the simulator I am using.  I will experiment some more.
Logged

Offline RotAtoR

  • Developer
  • Member
  • *
  • Posts: 170
  • Somewhere but not here
Re: Transparent Image problem in WPS
« Reply #4 on: March 11, 2007, 09:36:12 PM »
Looking at those images, you do have problems with anti-aliasing *and* none of them even have the color 255,0,255 in them. They are as close as 246,1,255, but not exact.

Edit: The fact that they've been converted to jpg further messes them up and makes it hard to tell exactly what's wrong. Do you happen to have to original bmps?
« Last Edit: March 11, 2007, 09:40:44 PM by RotAtoR »
Logged

Offline digerati1338

  • Member
  • *
  • Posts: 60
  • Geek Genius
Re: Transparent Image problem in WPS
« Reply #5 on: March 12, 2007, 11:28:51 PM »
Apparently photobucket converts bmp to jpg on upload.  I didn't even realize that.  Here are the bmps:
http://www.comteche.com/free-image-hosting/viewimage.php?file=/free-image-hosting/images/9vl56413.bmp
http://www.comteche.com/free-image-hosting/viewimage.php?file=/free-image-hosting/images/OjI56472.bmp[
I don't see any point in uploading all of them, so i only included 2.
Logged

Offline RotAtoR

  • Developer
  • Member
  • *
  • Posts: 170
  • Somewhere but not here
Re: Transparent Image problem in WPS
« Reply #6 on: March 12, 2007, 11:35:24 PM »
The background color is a bit off (246,0,255), so that's what's wrong.
Logged

Offline digerati1338

  • Member
  • *
  • Posts: 60
  • Geek Genius
Re: Transparent Image problem in WPS
« Reply #7 on: March 13, 2007, 12:44:06 AM »
I thought that was probably the problem.  Any suggestions for fixing it?  Is there a setting in the Gimp that I could change, or a different bitmap editing program (preferably open source) that I could use?
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Transparent Image problem in WPS
« Reply #8 on: March 13, 2007, 01:12:47 AM »
In Gimp, double click your foreground color in the little toolbar thingy where you select your brushes, and you can key in FF00FF as the color.  Then either paint that color everywhere you want it, or use the "fill" tool to fill it in.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline David Marsh

  • Artist
  • Member
  • *
  • Posts: 35
Re: Transparent Image problem in WPS
« Reply #9 on: March 13, 2007, 07:03:58 AM »
Also in GIMP you can press ctrl+P (shortcut for Dialogues->Palettes) to bring up the list of palettes, and select the default palette which has the correct magenta colour.  You cant get it wrong, its the only one that looks that colour.
Logged
aka Davina on IRC

Offline digerati1338

  • Member
  • *
  • Posts: 60
  • Geek Genius
Re: Transparent Image problem in WPS
« Reply #10 on: March 13, 2007, 11:38:19 PM »
I've identified the problem.  In the GIMP I was setting the foreground to FF00FF (255, 0, 255) and filling.  I did this again just like I had done before, but this time I checked the color with the color picker after filling it.  The color picker returned 246, 0, 255.  It is missing some red.  I tried several times with the same result.  Maybe it is just my version of the GIMP.  I dont have the latest build.  I'll try getting a new version and see if that fixes the problem.  

Thanks for all your help.  I'm open to other suggestions as well.
Logged

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: Transparent Image problem in WPS
« Reply #11 on: March 14, 2007, 12:03:50 AM »
I've seen this before.  Make sure the "mode" is "normal" and up your threshold a bit, try different values up to maybe 50 or so.  Too high and you'll start filling in your black, too low and you won't get all the "almost magenta"

Or just use the pen tool to draw the magenta.  The pictures aren't *that* big. :)
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Transparent Image problem in WPS
 

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

Page created in 0.094 seconds with 14 queries.