Code: Select all
#!/bin/bash
size=$(identify -format %wx%h $1)
convert -size ${size} tile:pencil.png pencil_ground.png
Code: Select all
convert: invalid argument for option `-size': tile:pencil.png @ error/convert.c/ConvertImageCommand/2753.
Code: Select all
#!/bin/bash
size=$(identify -format %wx%h $1)
convert -size 500x500 tile:pencil.png pencil_ground.png