Ru | Eng

2007-08-01 | Category: About icons 

Now we will try to look from technical view different formats of icons, and which formats are better for different districts.
This article is not recomendation for choosing specific format, because each case may be exclusion from rules.

Icons are the images which have standart sizes (16х16, 24х24, 32х32, 48х48, 128х128 and others) and they may be with transparent or without it.

There are 3 forms of icons:

  1. Vector (pic. 1a)
  2. Raster (pic. 1b)
  3. Pixel (pic. 1c).

Pic. 1. Example of vector (a), raster (b), and pixel (c) icon

Vector icons

As a rule these are sources files (the most videspread formats of files: AI, CDR, EPS, SWF, FLA, SVG) ) because they may be converted in rasters icons.

Lets stop on usual differences:

  • Vector icons may be increased/decreased up to any sizes (but if they are smaller than 20x20 it would be degraded )
  • Only in few places you can use vector icons. Becouse they are sources
  • If you don't know how to convert you vector icons to raster format, you need a person who can make it
  • As usual, vector icons look more smoother, more "drawed" than raster and pixel icons.

Raster and pixel icons

Perhaps they don't have clear borders. They may be in the same formats of files, in identical sizes. But there are general things, from which you should sort your icons to pixel or raster and for different appliance these things could play main role — that's why we divided it on 2 types.

  • As usual pixel icons have transparency just on 1 colour (RGB)
  • Raster icons — with Alpha-transparency (RGBA)
  • Raster icons look more realistic, and pixel icons especially drawn sharp, roughly and for this action as minimal 3 reasons:
    • This is the ancient type of icons: they were drawn even in times of few colours in palette (that's why you can see each pixel)
    • It's difficulty to make realistic antialiasing with size 16x16
    • To make clean this single colour of transparency, there is no way to make antialiasing over edge of image
  • Now pixel icons are drawn as usual for sizes 16x16+. Or just as a parody on old times.

Pic. 2. Examples of raster and pixel icons

  • a. Icon with Alpha transparency (RGBA) in file
  • b. Icon (RGBA), blend on background
  • с. Icon (RGBA) is shown with zoom - you can see that, pixels over edge (transparented pixels), Iook as they blended with layer, making
    soft gradient (antialiasing)
  • d. Icon with one colour for transparency - as it shown in file
  • e. Icon with one colour for transparency, blend on background
  • f. Icon with one colour for transparency, it is shown with zoom, how to lay it on layer — you can see that pixels don't blend with layer and in result it is sharp, roughly edge.

Main formats of raster and pixel icons:

  • ICO. Windows icons format. They could have one icon in different sizes and different colour themes in one file:

  • 16x16
    24x24
    32x32
    48x48
    128x128
    256x256
    monochrome
    optional optional optional optional optional optional
    16 colors
    recomended optional recomended optional optional recomended
    256 colors
    recomended optional recomended recomended optional recomended
    RGBA
    recomended optional recomended recomended optional recomended
    recomended recomended, optional optional

    Table 1. Formats of icons in Windows

    Important: size of icons 24x24 you couldn't use in Windows 98 and Windows 2000
    Important: size 128x128 Windows doesn't support directly
    Important: size 256x256 should support only in Windows Vista

  • ICNS. Macintosh icons format. Also could have one icon in different sizes and different colour themes in one file:

  • 16x16
    24x24
    32x32
    48x48
    128x128
    256x256
    monochrome
    optional no optional optional no no
    16 colors
    recomended no recomended optional no no
    256 colors
    recomended no recomended recomended no no
    RGBA
    recomended no recomended recomended optional recomended
    supportrecomended, n\aoptional, no not available

    Table 2. Formats of icons in mac OS

    Important: size of icons 256x256 is supported by OSX 10.4 and higher

  • PNG. Supporting of RGB\RGBA image
  • BMP. Supporting of RGB image
  • JPG. Supporting of RGB image with compression, It means that there is no transparency at all
  • GIF. Palette with 256 colours, including one colour for transparency
  • TIFF. Support images almost any format, any color themes (RGB, RGBA, CMYK e.t.c.), transparency and layers (optional). Can be used for polygraphy or as source
  • PSD. Absolutely any format of (bitmap) image, including layers. It's source-file
  • RSC, RSRC. Sources of icons for Macintosh, can include few icons at the same time.

    Important: formats TIFF, PSD and RSC as real are sources and it is hard to include it to software or web without convertation

Icons for site

1. If you designer and you will work with icons in graphic editor, so there are many types of icons match for you ( if you need transparency, so you should select PNG or PSD files)
2. For work with icons directly in web, you should select GIF, JPG or PNG, but remeber, today there are only few browsers, which show transparency in PNG files correctly. So for quick and easy use in web optimal formats are GIF (with transparency) and JPG (without transparency).

Icons for software

1. First of all this is your OS's format: ICO for Windows and ICNS for Mac Os
2. Next usefull format is PNG, but not all compilers support PNG files with transparency. So, in start, you should have consultation with programmers — could they use this format or not
3. If those formats didn't match, perhaps, BMP with one color for transparency (it's means what all "transparented" pixels filled with one color (usually it's pure violet, R=255, G=0, B=255, because it's the most rarely color) is what you looking for.

For polygraphy

1. If you search vector icon, so there is much depend on graphic programm, in which you will make up your composition (because convertation between different vector formats could be very problematic). For example, if you work with software by COREL, so you prefer files in CDR format, if software by Adobe or another company, you should use AI or EPS formats
2. If you need bitmap icon, so the most usefull formats are TIFF and PSD , and most useless are ICO and ICNS formats (you'll need special software to open it).

For use in animation

Any types (vector formats SWF and FLA are ready to use in Adobe Flash).

Remind, what all of these rules belong for modern software, OS (Windows, Mac OS), browser , so, if you will use older software or OS, you should see information about compatibility specifical for your software. Sincerely hope that this article was useful for you.

In writing this text is used material from www.axialis.com

www.icojoy.com | Zhebrakov Andrew (Andy-S)


Comments (5)
 
динара
2008-04-22 19:09:47

здравствуйте" комментариев у меня нет, но вот вопросик есть! Скажите пожалуйста я работаю в Xara Xtreme, точнее говоря начала по тихому рисовать иконки и как мне поменять пиксельную иконку на растровую или на векторную??? Заранее Вам спасибо!
Andy
2008-04-23 11:00:38

Здравствуйте, Динара Вообще то, поменять (как понял, имеется ввиду "сконвертировать") пиксельную или растровую иконку на векторную не возможно даже теоретически (из-за разности технологий) Касаемо конкретной программы - в своей работе мы редко ей пользуемся, поэтому идеально мудрый совет дать не сможем, но, если Вы рисуете в Xara Xtreme, скорее всего, Ваша иконка априори "векторная". Т.е. Вы можете легко экспортировать сделанную иконку в "растровую" (File -> Export). В приведенной выше статье было сказано, чем отличаются эти три формата визуально и технологически, поэтому, поиграв с форматом и размером файла (например, сделав GIF, 16x16) при экспорте, вы можете получить даже “пиксельную” иконку, хотя получится, скорее всего, грубо. Обычно “пиксельные” иконки рисуются заново (в другой программе).
Kat
2008-08-17 18:57:49

Спасибо огромное за статью! Только начинаю изучать как рисовать иконки. Подскажите, пожалуйста, в какой программе это лучше всего делать, и какое оборудование для этого нужно - Wacom Tablet etc.?
С уважением,
Kat
Andy
2008-08-17 19:13:01

Здравствуйте. Честно говоря, мы и все, кого мы знаем, делают иконки в разных программах. Это зависит от того, в чем Вам удобнее их делать и о того, для чего вы их делаете. Мне, например, мелкие иконки удобнее рисовать в Фотошопе, а крупные - в Иллюстраторе. Пожалуй, с Wacom рисовать удобнее.
Kat
2008-08-18 08:23:32

Спасибо большое за ответ! Иконки хотела бы нарисовать для своего вебсайта. Буду пробовать:)
Leave a reply
Name: *
E-mail:
Comment: *
Image code: *
Categories:
Last comments:


Subscribe to Icojoy news
Our stock icon sets:
Springfield Personnel - $45
Springfield Personnel icon set
bitmap, 79 icons
Preview icon set Buy icon set
Spheres aqua2 numb - $35
Spheres aqua2 numb icon set
bitmap, 112 icons
Preview icon set Buy icon set
Tiny Basic - $39
Tiny Basic icon set
bitmap, 94 icons
Preview icon set Buy icon set