Ajuste densidad letra
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 66 KiB |
|
@ -24,7 +24,7 @@ PADRES='280,317,620,376'
|
|||
IDE='50,430,980,520'
|
||||
|
||||
# Pedimos texto al usuario
|
||||
TEXTO=$(zenity --entry --text="Escriba el mensaje a poner en la imagen" --entry-text="SOLO USO INTERNO Empresa ")
|
||||
TEXTO=$(zenity --entry --text="Escriba el mensaje a poner en la imagen" --entry-text=">> SOLO USO INTERNO Empresa <<")
|
||||
|
||||
# Temporales Escalados
|
||||
echo "Preparando Imagenes temporales (escaladas).."
|
||||
|
@ -32,10 +32,10 @@ convert "$ANVERSO" -resize 1011x638 -units PixelsPerInch -density 150 "$AnvTMP"
|
|||
convert "$REVERSO" -resize 1011x638 -units PixelsPerInch -density 150 "$RevTMP" 2>/dev/null
|
||||
|
||||
echo "Ocultando, fijando texto y escala gris en ANVERSO"
|
||||
convert "$AnvTMP" -fill gray -draw "rectangle $CAN" -fill gray -draw "rectangle $SOPORTE" -font helvetica -fill black -pointsize 30 -gravity center -annotate 0 "$TEXTO" -grayscale average -units PixelsPerInch -density 150 "$AnvIMG"
|
||||
convert "$AnvTMP" -fill gray -draw "rectangle $CAN" -fill gray -draw "rectangle $SOPORTE" -font helvetica -fill black -pointsize 30 -density 90 -gravity center -annotate 0 "$TEXTO" -grayscale average -units PixelsPerInch -density 150 "$AnvIMG"
|
||||
|
||||
echo "Ocultando, fijando texto y escala gris en REVERSO"
|
||||
convert "$RevTMP" -fill gray -draw "rectangle $EQUIPO" -fill gray -draw "rectangle $PADRES" -fill gray -draw "rectangle $IDE" -font helvetica -fill black -pointsize 30 -gravity center -annotate 0 "$TEXTO" -grayscale average -units PixelsPerInch -density 150 "$RevIMG"
|
||||
convert "$RevTMP" -fill gray -draw "rectangle $EQUIPO" -fill gray -draw "rectangle $PADRES" -fill gray -draw "rectangle $IDE" -font helvetica -fill black -pointsize 30 -density 90 -gravity center -annotate 0 "$TEXTO" -grayscale average -units PixelsPerInch -density 150 "$RevIMG"
|
||||
|
||||
echo "Limpiando temporales..."
|
||||
rm "$AnvTMP" "$RevTMP"
|
||||
|
|