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

« back to all changes in this revision

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

  • Committer: wagrant
  • Date: 2008-07-23 02:42:54 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:935
userdb: Large changes:
 - Split out semesters into their own table.
 - Give semesters and enrolments an active flag.
   + Enrolments cannot be active if their semester is not.
 - Introduce the project set concept, to link groups to projects.
   + Groups and projects now reference a project set, not an offering.

Also update the DB access code to respect the group changes.

<FONT COLOR="red"><BLINK>

  ** WARNING: This migration will destroy all groups, enrolments and
              offerings. **

</BLINK></FONT>

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"