~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to image-source/split-tab.sh

  • Committer: Matt Giuca
  • Date: 2009-02-24 07:43:05 UTC
  • mto: This revision was merged to the branch mainline in revision 1119.
  • Revision ID: matt.giuca@gmail.com-20090224074305-xo0oue5jhqgqxrqs
Moved filesystem/browser/media/chrome/pathbar-bg.png =>
      coremedia/images/chrome/h1-bg.png, since it will now be used for a
      generric h1.
Updated styles.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# Takes the name of a PNG file (such as tab.png).
 
4
# Splits into 3 images.
 
5
 
 
6
BASE=`basename $1 '.png'`
 
7
 
 
8
convert "$1" -crop 4x20+0+0 "$BASE-left.png"
 
9
convert "$1" -crop 4x20+4+0 "$BASE-mid.png"
 
10
convert "$1" -crop 4x20+61+0 "$BASE-right.png"