Difference between revisions of "Development:Preparing Graphics"

From Camino Wiki
Jump to navigation Jump to search
m (more code)
(add bit originally from Coding)
Line 1: Line 1:
When preparing TIFF images for use with Camino, the following steps should be taken to ensure that color does not shift and that image file sizes remain reasonable (~1000b for single-image icons, ~4000b for dual-image icons).
+
When preparing TIFF images for use with Camino, the following steps should be taken to ensure that color does not shift and that image file sizes remain reasonable (~1000b for single-image icons, ~4000b for dual-image icons)
 +
 
 +
Images should use the <tt>.tiff</tt> extension (with two “t"s) and be post-processed[https://bugzilla.mozilla.org/show_bug.cgi?id=384725#c13] with <tt>tiffutil</tt>.
  
 
# Open the images in Photoshop and convert the color profile to sRGB
 
# Open the images in Photoshop and convert the color profile to sRGB

Revision as of 23:17, 14 November 2008

When preparing TIFF images for use with Camino, the following steps should be taken to ensure that color does not shift and that image file sizes remain reasonable (~1000b for single-image icons, ~4000b for dual-image icons).

Images should use the .tiff extension (with two “t"s) and be post-processed[1] with tiffutil.

  1. Open the images in Photoshop and convert the color profile to sRGB
  2. "Save As…", uncheck the "Embed Color Profile" box
  3. tiffutil -lzw on the file
  4. Combine the 32x32 and 24x24 tiffs together using the following command (32x32 first):
    tiffutil -cat 32x32.tiff 24x24.tiff -out filename.tiff

Let it never be said that Sam does not worry about bread trucks.