Color conversion of fonts, images, and symbols.
Convert between 17 different color modes. Find the right balance between color resolution and memory size.
Import and convert pictures
Import existing pixel-based pictures (name.bmp, name.jpg, name.png). Pictures are always imported with the original color resolution (color depth).
Convert to symbols with the same pixel color resolution as used by the target display. Then save as c-source code.
Change color resolution.
Change of color resolution (color depth) is a one-click operation. Convert directly between:
- 32-bit semi-transparent ARGB
- 8, 16, 24-bit color RGB
- 1, 2, 4, 8-bit intensity level anti-alias for semi-transparent color rendering
- 2, 4, 8-bit gray tones
- 1-bit B&W pixels.
IconEdit can change any color mode to any other color mode simply by selecting a new color mode.
Color modes for fonts
Intensity level formats can be rendered in any one color, so usually 1, 2, or 4 bit per pixel intensity level is used.
A font of 4-bit per pixel intensity level characters gives the smoothest characters:
2-bit per pixel intensity level anti-alias gives a good compromise between look and memory consumption:
1-bit per pixel Black & White On & Off intensity level save memory space:
In all cases intensity level anti-alias characters and symbols can be rendered in any color the display is capable of.
Fonts can be in color if characters or symbols may need more than one rendering color.
Multicolored emojis with 32-bit per pixel semi-transparent colors and anti-alias smoothing:
3 color plus 1 transparent background emojis with 2-bit per pixel palette based pixels:
From 32-bit per pixel semi-transparent colors to 4 color palette based pixels gives a factor 16 memory reduction.
Use color palettes to reduce memory size
IconEdit has support for color mapping/conversion of symbol pixel colors to palette table indexes. This makes it possible to reduce full RGB 24-bit per pixel color images to 2, 4 or 8-bits per pixel.
Use the build-in color optimizer in IconEdit can make an optimized palette. Then convert the image to a palette based symbol with only a small loss of color precision. The image resolution is not changed by this operation.
Photograph imported from a JPG source to a full 24-bit per pixel RGB color symbol:
Picture reduced to 8-bit per pixel palette based colors with the help of the IconEdit palette optimizer:
Picture reduced to 4-bit per pixel palette based colors with the help of the IconEdit palette optimizer:
Picture memory size is now reduced a factor 6 from 24-bit-per-pixel to 4-bit-per-pixel.
Convert color designs to intensity level symbols and save memory
Use the simple conversion of low contrast color designs to high contrast anti-alias intensity level symbols.
This example shows a low contrast design of a logo imported from a *.png file and converted to high contrast anti-alias intensity level.
The original has 32-bit-per-pixel:
The high contrast symbol has only 4-bit-per-pixel intensity level:
The converted design can then be rendered with any combination of foreground and background color.
With the right colors it will look just like the original, but the memory consumption is reduced by a factor 8.