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
| | |-+  help with anti-aliasing on icons
« previous next »
  • Print
Pages: [1]

Author Topic: help with anti-aliasing on icons  (Read 2099 times)

Offline Chuck McKnight

  • Member
  • *
  • Posts: 17
help with anti-aliasing on icons
« on: March 30, 2008, 10:54:13 PM »
I am currently working on a new icon set for Rockbox. I am making the icons originally as SVGs using Inkscape, then scaling them down to icon size. The problem I am having, however, is getting the edges anti-aliased correctly. Anyone know a good technique to get all the edges a neutral color?

(BTW, I am trying to avoid anti-aliasing to a specific color, because I want the same icon set to be usable with any backdrop)
Logged

hhannah

  • Guest
Re: help with anti-aliasing on icons
« Reply #1 on: March 30, 2008, 11:07:02 PM »
I'm not an expert, but try placing the icons on the neutral colour background (red 255 green 0 blue 255) BEFORE reducing them - if you didn't do that already -  that might work, or at least "less cleaning" should be needed

Edit: I tried what I suggested and it doesn't completely work... the post below is right...
« Last Edit: March 31, 2008, 01:17:21 AM by hhannah »
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: help with anti-aliasing on icons
« Reply #2 on: March 31, 2008, 12:37:55 AM »
Chuck, what do you mean by anti-alias to a neutral color?  The color (255, 0, 255) is interpreted as transparent.  However, you can't really anti-alias to it because colors that are close, but not identical to it will show up as magenta.  Transparency is fully on or off: There's no implementation of alpha channels in Rockbox currently.

The best you can do is to pick a background color and design your icons for use with that.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Chuck McKnight

  • Member
  • *
  • Posts: 17
Re: help with anti-aliasing on icons
« Reply #3 on: March 31, 2008, 08:51:40 AM »
Hmm, well I'll fool around with it a bit more and see what I can get. I started trying to anti-alias against a solid gray background, and that seems to be working better anyway.

BTW, has there been any talk of future use of alpha channels in Rockbox?


Edit: I asked on the Inkscape forums, and someone there recommended using GIMP to threshold the Alpha, and that worked perfectly!  8-) So case closed, I guess.


Quote
*Just a reminder to modify your post instead of posting a new one if no one has replied.
*Sorry, I visit multiple forums, all with different posting regulations, so I confuse them at times. Post fixed now.  ;)
« Last Edit: March 31, 2008, 04:00:36 PM by Chuck McKnight »
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: help with anti-aliasing on icons
« Reply #4 on: March 31, 2008, 03:43:47 PM »
Nice.  That info might be handy on the CustomIcons page, or maybe a tutorial page linked from there.

*Just a reminder to modify your post instead of posting a new one if no one has replied.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline crzyboyster

  • Member
  • *
  • Posts: 362
  • Proud iPod Nano User!
Re: help with anti-aliasing on icons
« Reply #5 on: March 31, 2008, 04:04:16 PM »
And would you like to post those icons in the icons gallery?

> http://www.rockbox.org/twiki/bin/view/Main/IconSets

Make sure that it's licensed, though!
Logged
My iPod Nano themes: AAPodSVN - PHK1 Remix - Cabbie 3.0 - Christmas - corners

Offline Chuck McKnight

  • Member
  • *
  • Posts: 17
Re: help with anti-aliasing on icons
« Reply #6 on: March 31, 2008, 04:18:31 PM »
They're not done yet. I've only got a few actually finished at the moment, but yes, I plan on posting them there when I finish.

How does one go about licensing such things though?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: help with anti-aliasing on icons
« Reply #7 on: March 31, 2008, 04:30:28 PM »
You just have to post them with a notice about what license you have chosen to release them under.  Often an archive will contain a LICENSE or COPYING file that contains the terms of the license.  It seems that a few themes are getting released under a Creative Commons license.  

Basically, you are the creator of the content so you hold copyright and you get to decide what license you want to release your work under.  Being that Rockbox is released under GPL, I think it's appropriate if the license you choose allows users to distribute and modify the work.  Some things don't get released with a specific license and it makes it problematic for the content to be used/re-used as an official Rockbox resource.

Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  help with anti-aliasing on icons
 

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

Page created in 0.072 seconds with 15 queries.