Add flower to icon

This commit is contained in:
Mario Fetka 2013-05-08 17:16:41 +02:00
parent a78b0c4b44
commit af58d8c462
3 changed files with 79 additions and 50 deletions

View File

@ -142,8 +142,8 @@ DL_ARCH[20]="X86_64"
DL_EXTRACT_FORMAT[20]="unzip"
DL_EXTRACT_TO[20]="Plugin"
DL_FILE[21]="imagineiconsv2.zip"
DL_SOURCE[21]="http://ftp.disconnected-by-peer.at/pub/imagineiconsv2.zip"
DL_FILE[21]="imagineiconsv3.zip"
DL_SOURCE[21]="http://ftp.disconnected-by-peer.at/pub/imagineiconsv3.zip"
DL_ARCH[21]="ALL"
DL_EXTRACT_FORMAT[21]="unzip"
DL_EXTRACT_TO[21]="Template"

View File

@ -37,99 +37,127 @@ function create() {
type=${typenr/-*/}
### 24bit #############################################################################################################################################
# 256x256
convert -verbose -size 256x256 xc:transparent -font DejaVu-Sans-Condensed-Bold -pointsize 68 -fill white -draw "gravity south text 0,5 '$type'" $type-256x256-txt.png
composite -verbose -quality 100 -define "png:compression-level=0" $type-256x256-txt.png $INST_DIR/CLIENT_DATA/ALL/Template/icon_imagine_24bit_256x256.png $type-256x256-24bit.png
convert -verbose -size 256x256 xc:transparent -font DejaVu-Sans-Condensed-Bold -pointsize 68 -fill white -stroke grey -strokewidth 1 -draw "gravity south text 0,5 '$type'" $type-256x256-txt.png
composite -verbose -quality 100 $type-256x256-txt.png $INST_DIR/CLIENT_DATA/ALL/Template/icon_imagine_24bit_256x256.png $type-256x256-24bit.png
# 180x180
convert -verbose -resize 180x180 -define "png:compression-level=0" $type-256x256-24bit.png $type-180x180-24bit.png
convert -verbose -resize 180x180 $type-256x256-24bit.png $type-180x180-24bit.png
# 150x150
convert -verbose -resize 150x150 -define "png:compression-level=0" $type-256x256-24bit.png $type-150x150-24bit.png
convert -verbose -resize 150x150 $type-256x256-24bit.png $type-150x150-24bit.png
# 128x128
convert -verbose -size 128x128 xc:transparent -font DejaVu-Sans-Condensed-Bold -pointsize 37 -fill white -draw "gravity south text 0,3 '$type'" $type-128x128-txt.png
composite -verbose -quality 100 -define "png:compression-level=0" $type-128x128-txt.png $INST_DIR/CLIENT_DATA/ALL/Template/icon_imagine_24bit_128x128.png $type-128x128-24bit.png
convert -verbose -size 128x128 xc:transparent -font DejaVu-Sans-Condensed-Bold -pointsize 37 -fill white -stroke grey -strokewidth 1 -draw "gravity south text 0,3 '$type'" $type-128x128-txt.png
composite -verbose -quality 100 $type-128x128-txt.png $INST_DIR/CLIENT_DATA/ALL/Template/icon_imagine_24bit_128x128.png $type-128x128-24bit.png
# 96x96
convert -verbose -resize 96x96 -define "png:compression-level=0" $type-256x256-24bit.png $type-96x96-24bit.png
convert -verbose -resize 96x96 $type-256x256-24bit.png $type-96x96-24bit.png
# 72x72
convert -verbose -resize 72x72 -define "png:compression-level=0" $type-256x256-24bit.png $type-72x72-24bit.png
convert -verbose -resize 72x72 $type-256x256-24bit.png $type-72x72-24bit.png
# 64x64
convert -verbose -size 64x64 xc:transparent -font DejaVu-Sans-Condensed-Bold -pointsize 18 -fill white -draw "gravity south text 0,2 '$type'" $type-64x64-txt.png
composite -verbose -quality 100 -define "png:compression-level=0" $type-64x64-txt.png $INST_DIR/CLIENT_DATA/ALL/Template/icon_imagine_24bit_64x64.png $type-64x64-24bit.png
convert -verbose -size 64x64 xc:transparent -font DejaVu-Sans-Condensed-Bold -pointsize 18 -fill white -stroke grey -strokewidth 1 -draw "gravity south text 0,2 '$type'" $type-64x64-txt.png
composite -verbose -quality 100 $type-64x64-txt.png $INST_DIR/CLIENT_DATA/ALL/Template/icon_imagine_24bit_64x64.png $type-64x64-24bit.png
# 50x50
convert -verbose -resize 50x50 -define "png:compression-level=0" $type-64x64-24bit.png $type-50x50-24bit.png
convert -verbose -resize 50x50 $type-64x64-24bit.png $type-50x50-24bit.png
# 48x48
convert -verbose -size 48x48 xc:transparent -font DejaVu-Sans-Condensed-Bold -pointsize 14 -fill white -draw "gravity south text 0,1 '$type'" $type-48x48-txt.png
composite -verbose -quality 100 -define "png:compression-level=0" $type-48x48-txt.png $INST_DIR/CLIENT_DATA/ALL/Template/icon_imagine_24bit_48x48.png $type-48x48-24bit.png
convert -verbose -size 48x48 xc:transparent -font DejaVu-Sans-Condensed-Bold -pointsize 14 -fill white -stroke grey -strokewidth 1 -draw "gravity south text 0,1 '$type'" $type-48x48-txt.png
composite -verbose -quality 100 $type-48x48-txt.png $INST_DIR/CLIENT_DATA/ALL/Template/icon_imagine_24bit_48x48.png $type-48x48-24bit.png
# 40x40
convert -verbose -resize 40x40 -define "png:compression-level=0" $type-48x48-24bit.png $type-40x40-24bit.png
convert -verbose -resize 40x40 $type-48x48-24bit.png $type-40x40-24bit.png
# 32x32
convert -verbose -resize 32x32 -define "png:compression-level=0" $type-48x48-24bit.png $type-32x32-24bit.png
convert -verbose -resize 32x32 $type-48x48-24bit.png $type-32x32-24bit.png
# 30x30
convert -verbose -resize 30x30 -define "png:compression-level=0" $type-48x48-24bit.png $type-30x30-24bit.png
convert -verbose -resize 30x30 $type-48x48-24bit.png $type-30x30-24bit.png
# 24x24
convert -verbose -resize 24x24 -define "png:compression-level=0" $type-48x48-24bit.png $type-24x24-24bit.png
convert -verbose -resize 24x24 $type-48x48-24bit.png $type-24x24-24bit.png
# 16x16
convert -verbose -size 16x16 xc:transparent -font DejaVu-Sans-Condensed-Bold -pointsize 5 -fill white -draw "gravity south text 0,1 '$type'" $type-16x16-txt.png
composite -verbose -quality 100 -define "png:compression-level=0" $type-16x16-txt.png $INST_DIR/CLIENT_DATA/ALL/Template/icon_imagine_24bit_16x16.png $type-16x16-24bit.png
#convert -verbose -resize 16x16 -define "png:compression-level=0" $type-48x48-24bit.png $type-16x16-24bit.png
convert -verbose -size 16x16 xc:transparent -font DejaVu-Sans-Condensed-Bold -pointsize 5 -fill white -stroke grey -strokewidth 1 -draw "gravity south text 0,1 '$type'" $type-16x16-txt.png
composite -verbose -quality 100 $type-16x16-txt.png $INST_DIR/CLIENT_DATA/ALL/Template/icon_imagine_24bit_16x16.png $type-16x16-24bit.png
#convert -verbose -resize 16x16 $type-48x48-24bit.png $type-16x16-24bit.png
#### 8bit #############################################################################################################################################
# 256x256
convert -verbose $type-256x256-24bit.png -define "png:compression-level=0" -depth 8 -colors 256 +dither png8:$type-256x256-8bit.png
#convert -verbose -quality 100 $type-256x256-24bit.png -depth 8 -colors 256 +dither $type-256x256-8bit.png
cp $type-256x256-24bit.png $type-256x256.png
pngquant --ext -8bit.png $type-256x256.png
# 180x180
convert -verbose $type-180x180-24bit.png -define "png:compression-level=0" -depth 8 -colors 256 +dither png8:$type-180x180-8bit.png
#convert -verbose -quality 100 $type-180x180-24bit.png -depth 8 -colors 256 +dither $type-180x180-8bit.png
cp $type-180x180-24bit.png $type-180x180.png
pngquant --ext -8bit.png $type-180x180.png
# 150x150
convert -verbose $type-150x150-24bit.png -define "png:compression-level=0" -depth 8 -colors 256 +dither png8:$type-150x150-8bit.png
#convert -verbose -quality 100 $type-150x150-24bit.png -depth 8 -colors 256 +dither $type-150x150-8bit.png
cp $type-150x150-24bit.png $type-150x150.png
pngquant --ext -8bit.png $type-150x150.png
# 128x128
convert -verbose $type-128x128-24bit.png -define "png:compression-level=0" -depth 8 -colors 256 +dither png8:$type-128x128-8bit.png
#convert -verbose -quality 100 $type-128x128-24bit.png -depth 8 -colors 256 +dither $type-128x128-8bit.png
cp $type-128x128-24bit.png $type-128x128.png
pngquant --ext -8bit.png $type-128x128.png
# 96x96
convert -verbose $type-96x96-24bit.png -define "png:compression-level=0" -depth 8 -colors 256 +dither png8:$type-96x96-8bit.png
#convert -verbose -quality 100 $type-96x96-24bit.png -depth 8 -colors 256 +dither $type-96x96-8bit.png
cp $type-96x96-24bit.png $type-96x96.png
pngquant --ext -8bit.png $type-96x96.png
# 72x72
convert -verbose $type-72x72-24bit.png -define "png:compression-level=0" -depth 8 -colors 256 +dither png8:$type-72x72-8bit.png
#convert -verbose -quality 100 $type-72x72-24bit.png -depth 8 -colors 256 +dither $type-72x72-8bit.png
cp $type-72x72-24bit.png $type-72x72.png
pngquant --ext -8bit.png $type-72x72.png
# 64x64
convert -verbose $type-64x64-24bit.png -define "png:compression-level=0" -depth 8 -colors 256 +dither png8:$type-64x64-8bit.png
#convert -verbose -quality 100 $type-64x64-24bit.png -depth 8 -colors 256 +dither $type-64x64-8bit.png
cp $type-64x64-24bit.png $type-64x64.png
pngquant --ext -8bit.png $type-64x64.png
# 50x50
convert -verbose $type-50x50-24bit.png -define "png:compression-level=0" -depth 8 -colors 256 +dither png8:$type-50x50-8bit.png
#convert -verbose -quality 100 $type-50x50-24bit.png -depth 8 -colors 256 +dither $type-50x50-8bit.png
cp $type-50x50-24bit.png $type-50x50.png
pngquant --ext -8bit.png $type-50x50.png
# 48x48
convert -verbose $type-48x48-24bit.png -define "png:compression-level=0" -depth 8 -colors 256 +dither png8:$type-48x48-8bit.png
#convert -verbose -quality 100 $type-48x48-24bit.png -depth 8 -colors 256 +dither $type-48x48-8bit.png
cp $type-48x48-24bit.png $type-48x48.png
pngquant --ext -8bit.png $type-48x48.png
# 40x40
convert -verbose $type-40x40-24bit.png -define "png:compression-level=0" -depth 8 -colors 256 +dither png8:$type-40x40-8bit.png
#convert -verbose -quality 100 $type-40x40-24bit.png -depth 8 -colors 256 +dither $type-40x40-8bit.png
cp $type-40x40-24bit.png $type-40x40.png
pngquant --ext -8bit.png $type-40x40.png
# 32x32
convert -verbose $type-32x32-24bit.png -define "png:compression-level=0" -depth 8 -colors 256 +dither png8:$type-32x32-8bit.png
#convert -verbose -quality 100 $type-32x32-24bit.png -depth 8 -colors 256 +dither $type-32x32-8bit.png
cp $type-32x32-24bit.png $type-32x32.png
pngquant --ext -8bit.png $type-32x32.png
# 30x30
convert -verbose $type-30x30-24bit.png -define "png:compression-level=0" -depth 8 -colors 256 +dither png8:$type-30x30-8bit.png
#convert -verbose -quality 100 $type-30x30-24bit.png -depth 8 -colors 256 +dither $type-30x30-8bit.png
cp $type-30x30-24bit.png $type-30x30.png
pngquant --ext -8bit.png $type-30x30.png
# 24x24
convert -verbose $type-24x24-24bit.png -define "png:compression-level=0" -depth 8 -colors 256 +dither png8:$type-24x24-8bit.png
#convert -verbose -quality 100 $type-24x24-24bit.png -depth 8 -colors 256 +dither $type-24x24-8bit.png
cp $type-24x24-24bit.png $type-24x24.png
pngquant --ext -8bit.png $type-24x24.png
# 16x16
convert -verbose $type-16x16-24bit.png -define "png:compression-level=0" -depth 8 -colors 256 +dither png8:$type-16x16-8bit.png
#convert -verbose -quality 100 $type-16x16-24bit.png -depth 8 -colors 256 +dither $type-16x16-8bit.png
cp $type-16x16-24bit.png $type-16x16.png
pngquant --ext -8bit.png $type-16x16.png
#### 4bit #############################################################################################################################################
# 256x256
convert -verbose $type-256x256-8bit.png -define "png:compression-level=0" -colors 16 +dither $type-256x256-4bit.png
convert -verbose $type-256x256-8bit.png -colors 16 +dither $type-256x256-4bit.png
# 180x180
convert -verbose $type-180x180-8bit.png -define "png:compression-level=0" -colors 16 +dither $type-180x180-4bit.png
convert -verbose $type-180x180-8bit.png -colors 16 +dither $type-180x180-4bit.png
# 150x150
convert -verbose $type-150x150-8bit.png -define "png:compression-level=0" -colors 16 +dither $type-150x150-4bit.png
convert -verbose $type-150x150-8bit.png -colors 16 +dither $type-150x150-4bit.png
# 128x128
convert -verbose $type-128x128-8bit.png -define "png:compression-level=0" -colors 16 +dither $type-128x128-4bit.png
convert -verbose $type-128x128-8bit.png -colors 16 +dither $type-128x128-4bit.png
# 96x96
convert -verbose $type-96x96-8bit.png -define "png:compression-level=0" -colors 16 +dither $type-96x96-4bit.png
convert -verbose $type-96x96-8bit.png -colors 16 +dither $type-96x96-4bit.png
# 72x72
convert -verbose $type-72x72-8bit.png -define "png:compression-level=0" -colors 16 +dither $type-72x72-4bit.png
convert -verbose $type-72x72-8bit.png -colors 16 +dither $type-72x72-4bit.png
# 64x64
convert -verbose $type-64x64-8bit.png -define "png:compression-level=0" -colors 16 +dither $type-64x64-4bit.png
convert -verbose $type-64x64-8bit.png -colors 16 +dither $type-64x64-4bit.png
# 50x50
convert -verbose $type-50x50-8bit.png -define "png:compression-level=0" -colors 16 +dither $type-50x50-4bit.png
convert -verbose $type-50x50-8bit.png -colors 16 +dither $type-50x50-4bit.png
# 48x48
convert -verbose $type-48x48-8bit.png -define "png:compression-level=0" -colors 16 +dither $type-48x48-4bit.png
convert -verbose $type-48x48-8bit.png -colors 16 +dither $type-48x48-4bit.png
# 40x40
convert -verbose $type-40x40-8bit.png -define "png:compression-level=0" -colors 16 +dither $type-40x40-4bit.png
convert -verbose $type-40x40-8bit.png -colors 16 +dither $type-40x40-4bit.png
# 32x32
convert -verbose $type-32x32-8bit.png -define "png:compression-level=0" -colors 16 +dither $type-32x32-4bit.png
convert -verbose $type-32x32-8bit.png -colors 16 +dither $type-32x32-4bit.png
# 30x30
convert -verbose $type-30x30-8bit.png -define "png:compression-level=0" -colors 16 +dither $type-30x30-4bit.png
convert -verbose $type-30x30-8bit.png -colors 16 +dither $type-30x30-4bit.png
# 24x24
convert -verbose $type-24x24-8bit.png -define "png:compression-level=0" -colors 16 +dither $type-24x24-4bit.png
convert -verbose $type-24x24-8bit.png -colors 16 +dither $type-24x24-4bit.png
# 16x16
convert -verbose $type-16x16-8bit.png -define "png:compression-level=0" -colors 16 +dither $type-16x16-4bit.png
convert -verbose $type-16x16-8bit.png -colors 16 +dither $type-16x16-4bit.png
# combine the images into a icon

View File

@ -0,0 +1 @@
a38d5a65d9befa6421d5c9c095485ee59c9a3da7 /home/mario/.opsi-dist-cache/nyam.imagine-1.0.9/ALL/imagineiconsv3.zip