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
| | |-+  PNGs
« previous next »
  • Print
Pages: [1]

Author Topic: PNGs  (Read 2526 times)

Offline Mr530

  • Member
  • *
  • Posts: 20
PNGs
« on: February 24, 2007, 05:46:53 PM »
Hey everybody,

I know that you can't use .png files in wps, but is there any way this will ever be possible? I know its been said before something about the technology limitations, but is there really that big of a difference?

And really I just want to use pngs for the transparency. It is such a pain if you wanted to do something such as change the background behind the battery icon. ugh it s headache.

Anyway, i was just wondering the actual truth?

Thanks,
Mr530
Logged

Offline lachlan

  • Member
  • *
  • Posts: 103
Re: PNGs
« Reply #1 on: February 24, 2007, 06:20:28 PM »
I believe the problem is that png's are compressed pictures, so rockbox will have to decode all the images that are displayed within the wps, as opposed to bmp. How much of a strain this places on the players resources I'm not sure, but I'm guessing it would be fairly significant.
Logged

Offline bk

  • Member
  • *
  • Posts: 266
Re: PNGs
« Reply #2 on: February 24, 2007, 07:25:16 PM »
Rockbox supports transparency in BMPs. Use RGB 255,0,255 for transparent areas.

There is no advantage to using PNG or other compressed image formats in Rockbox. Disk storage is abundant and the decoding process uses memory and CPU time that reduces battery life.
Logged

Offline Mr530

  • Member
  • *
  • Posts: 20
Re: PNGs
« Reply #3 on: February 27, 2007, 04:19:44 PM »
thanks, I will experiment later tonight.
Logged

Offline xlarge

  • Member
  • *
  • Posts: 191
Re: PNGs
« Reply #4 on: February 28, 2007, 07:11:05 AM »
Quote from: bk on February 24, 2007, 07:25:16 PM
Rockbox supports transparency in BMPs. Use RGB 255,0,255 for transparent areas.

There is no advantage to using PNG or other compressed image formats in Rockbox. Disk storage is abundant and the decoding process uses memory and CPU time that reduces battery life.

Compression by itself is not an advantage, opacity would be though.
But then again, your arguments apply to that aswell - it costs memory and cpu to calculate opacity.
Logged

Offline alecjw

  • Member
  • *
  • Posts: 9
Re: PNGs
« Reply #5 on: June 12, 2007, 04:41:48 PM »
How do you acheive 255,0,255 then?
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: PNGs
« Reply #6 on: June 12, 2007, 09:00:12 PM »
Quote from: alecjw on June 12, 2007, 04:41:48 PM
How do you acheive 255,0,255 then?

You use 254,0,255 or something, it looks the same.
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

Offline SliMM

  • Artist
  • Member
  • *
  • Posts: 15
Re: PNGs
« Reply #7 on: June 13, 2007, 12:33:54 PM »
Well, PNG has 8 bit alpha channel as opposed to 1 bit BMPs (magenta is only one :P). I suggest rendering the background to the bitmap, as everyone else does.
Logged

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

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

Page created in 0.103 seconds with 15 queries.