Search found 1 match

by gyok
2017-07-01T03:37:59-07:00
Forum: Users
Topic: How give to imagemagick imagesize like parametr in bash?
Replies: 1
Views: 1744

How give to imagemagick imagesize like parametr in bash?

I trying create B.png which will have same size as A.png, and will be created by tiling pencil.png. What I do:

#!/bin/bash
size=$(identify -format %wx%h $1)
convert -size ${size} tile:pencil.png pencil_ground.png

but magick give me error:
convert: invalid argument for option `-size': tile ...