3
###################################################
5
# Copyright (C) 2008, 2009 Mario Kemper <mario.kemper@googlemail.com> and Shutter Team
7
# This file is part of Shutter.
9
# Shutter is free software; you can redistribute it and/or modify
10
# it under the terms of the GNU General Public License as published by
11
# the Free Software Foundation; either version 3 of the License, or
12
# (at your option) any later version.
14
# Shutter is distributed in the hope that it will be useful,
15
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
# GNU General Public License for more details.
19
# You should have received a copy of the GNU General Public License
20
# along with Shutter; if not, write to the Free Software
21
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
###################################################
25
TEXTDOMAIN=shutter-plugins
26
TEXTDOMAINDIR=$SHUTTER_INTL
29
PLUGIN_TIP=$"give the picture an offset with itself as background"
30
PLUGIN_EXT="image/png;image/bmp;image/jpeg"
32
if [[ "${1}" = "name" ]];then
35
elif [[ "${1}" = "sort" ]];then
38
elif [[ "${1}" = "tip" ]];then
41
elif [[ "${1}" = "ext" ]];then
53
\( -clone 0 -resize 130% -fill white -colorize 40% \) \
54
\( -clone 0 -bordercolor black -border 1x1 \) \
55
-delete 0 -gravity center -composite "${FILE}"