~ubuntu-branches/debian/jessie/shutter/jessie

« back to all changes in this revision

Viewing changes to share/shutter/resources/system/plugins/shell/spaddlogo/spaddlogo

  • Committer: Bazaar Package Importer
  • Author(s): Ryan Niebur
  • Date: 2009-12-24 21:47:06 UTC
  • mfrom: (1.2.3 upstream) (2.2.2 squeeze)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20091224214706-c2ve4k7anyqhzvr1
* New Upstream Version
* update and change some deps
* update email address
* set Standards-Version to 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
TEXTDOMAIN=shutter-plugins
26
26
TEXTDOMAINDIR=$SHUTTER_INTL
27
 
PLUGIN_NAME=$"Shutter branding"
28
 
PLUGIN_SORT=$"effect"
29
 
PLUGIN_TIP=$"polaroid with Shutter logo and the name of the picture as subtitle"
 
27
PLUGIN_NAME=$"Shutter Branding"
 
28
PLUGIN_SORT=$"Effect"
 
29
PLUGIN_TIP=$"Turn the image into a polaroid one with the Shutter logo and a subtitle added"
30
30
PLUGIN_EXT="image/png"
31
31
 
32
32
if [[ "${1}" = "name" ]];then
49
49
FILEYTPE="${4}"
50
50
INTL_PATH="${5}"
51
51
GEO="${2}x${3}"
52
 
SHORTNAME=$(basename ${1} .png)
 
52
SHORTNAME=$(basename "${1}")
53
53
LOGO="$SHUTTER_ROOT/share/shutter/resources/system/plugins/shell/spaddlogo/shutter_branding.png"
54
54
 
55
55
mogrify -resize 480x400\> \
61
61
convert "${FILE}" "${LOGO}" \
62
62
-background none -mosaic +repage "${FILE}"
63
63
 
64
 
mogrify  \
65
 
-bordercolor gray -border 1x1 \
66
 
-set comment "http://shutter-project.org" \
67
 
"${FILE}"
68
 
 
69
64
convert "${FILE}" \( +clone -background black  -shadow 80x3+5+5 \) \
70
65
+swap -background none -mosaic +repage -rotate -4 \
71
66
"${FILE}"