Generating state icons

Log-in or register.

Generating state icons

In certain situations, it is necessary to generate slightly modified versions of icons to indicate different states, for example:

  • Grayscale, desaturated - disabled state.
  • High-contrast, glowing - hot state.

rsrc/icon-states.png image

Applying state effects to icon's images

Standard icons may have up to 15 image formats (3 color depths * 5 sizes). Applying the desired effect on each image manually would be a waste of your time.

RealWorld Icon Editor allows you to prepare commands that would apply effects on every image of an icon and it comes with the basic effects pre-configured. Commands in Icon->Filter all images menu cover the basic scenarios. You can generate grayscale images by reducing saturation to 0 using the Color adjustments filer.

To apply other filters on all images at once, you'll need to learn to reconfigure the Window Layout. The information in the following section will be useful as well.

Applying state effects in batch

A batch operation for application of state effect is not one of the built-in ones, but it is easy to configure:

  • Open new window and switch to Batch Mode.
  • Switch Batch operation to Custom operation #1 or #2. Save the current operation if you would want to restore and use it later.
  • Click Configure. This dialog may look a bit overwhelming, but you'll get used to it:

rsrc/batch-desaturate-icons.png image

Name and operation fields at the top of the window allow you to specify user friendly name (in multi-language format) and the actual operation performed. Note that the operation is set to the Sequence operation by default. This is desirable, because after the effect is applied in the first step, the modified file is saved to the destination folder in the second step. To create a color desaturation filter, do the following:

  • Set the operation of the first step to Extract Document Part operation rsrc/red-border.png image. This operation allows you to work with individual parts (images) of the current document (the icon).
  • Switch the Extract part by field to All available parts rsrc/green-border.png image. This means that you want to work with each image in the icon.
  • Switch Part operation to Color Adjustments operation rsrc/blue-border.png image. This is the operation applied on every image.
  • Finally lower the color saturation to 50% rsrc/magenta-border.png image.

Click OK and your new batch operation is ready to use (drag and drop icon files or folders on the application window to process them). You can also save it to a file and share it with co-workers or archive it.

Recent comments

user icon Anonymous
I wish there were...
Select background