| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function render_svg_convertPngToBrands { |
| |
| |
| local SIZES="16 20 22 24 32 36 40 48 64 96 128 148 164 196 200 512" |
| |
| |
| local FORMATS="png xpm pdf jpg tif" |
| |
| for SIZE in ${SIZES};do |
| |
| for FORMAT in ${FORMATS};do |
| |
| |
| cli_printMessage "${FILE}-${SIZE}.${FORMAT}" --as-creating-line |
| |
| |
| convert -resize x${SIZE} ${FILE}.png ${FILE}-${SIZE}.${FORMAT} |
| |
| done |
| |
| |
| cli_printMessage "${FILE}-${SIZE}.xbm (`gettext "2 colors grayscale"`)" --as-creating-line |
| convert -resize x${SIZE} -colorspace gray -colors 2 ${FILE}.png ${FILE}-${SIZE}.xbm |
| |
| |
| cli_printMessage "${FILE}-${SIZE}-emboss.png" --as-creating-line |
| convert -resize x${SIZE} -emboss 1 ${FILE}.png ${FILE}-${SIZE}-emboss.png |
| |
| done |
| |
| } |