Results 1 to 3 of 3

Thread: How Do Icons Work?

  1. #1
    Join Date
    Jul 2006
    Location
    South Africa
    Beans
    155
    Distro
    Ubuntu 13.10 Saucy Salamander

    Question How Do Icons Work?

    Hi,
    In another thread, It was explained to me that one can use either a jpeg or an svg file for an icon. Microsoft embeds the icons as ico images in the executable itself.Can anyone help with a source or perhaps the information itself?

    How does Linux deal with this matter?

    What are svg files? Gimp doesn't know them (most MS software doesn't know ico files either). I presume they are dual images - one for normal and one for clicked - but how does one create them?

    I tried a png file and it worked like a jpeg does but I'm at sea with this transparency thing. I couldn't work out how to give it a transparent background from the Gimp help file.
    gwm

  2. #2
    Join Date
    Jan 2008
    Beans
    4,326

    Re: How Do Icons Work?

    I do not remember much how to use gimp, I normally make single layer wallpapers. I know you can make a transparent layer though.

    Scalable Vector Graphics (SVG) is an XML specification and file format for describing two-dimensional vector graphics, both static and animated. SVG can be purely declarative or may include scripting. Images can contain hyperlinks using outbound simple XLinks.[2] It is an open standard created by the W3C's SVG Working Group.

    Gimp can read .svg if you convert it to another format like .png. (I just noticed open formats own)

    To change icons in gnome I think it is similar to the Windows way, only no .ico files. If you like a .ico perhaps convert it to .png

    http://en.wikipedia.org/wiki/Svg

  3. #3
    Join Date
    Apr 2005
    Location
    EU - UK
    Beans
    3,291
    Distro
    Ubuntu 12.04 Precise Pangolin

    Post Re: How Do Icons Work?

    Quote Originally Posted by gwm View Post
    Hi,
    In another thread, It was explained to me that one can use either a jpeg or an svg file for an icon. Microsoft embeds the icons as ico images in the executable itself.Can anyone help with a source or perhaps the information itself?

    How does Linux deal with this matter?

    What are svg files? Gimp doesn't know them (most MS software doesn't know ico files either). I presume they are dual images - one for normal and one for clicked - but how does one create them?

    I tried a png file and it worked like a jpeg does but I'm at sea with this transparency thing. I couldn't work out how to give it a transparent background from the Gimp help file.
    You can use any image file as an icon in Ubuntu, even .ico files. Anything will work as long as it's an image (that is suported, of course).

    I assume they had recommended you to use SVG files because they are vector files and scale better than bitmap based formats (like jpg, png, ico, etc.)

    You can define an icon for any file in Ubuntu. Just right click on it and go to its properties.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •