Closed reggi closed 3 years ago
Is there a way to call gm / im without a file path or starting -size , I found this example:
-size
convert -background darkred -fill white -font "OpenSans-Regular.ttf" -pointsize 200 \ label:"Hello\nWorld" -trim -resize 144x72 -gravity center -extent 480x480
It doesn't seem like I can do this.
Passing "" to the function throws no images defined
no images defined
I got a workaround:
const instance = im(0, 0); instance.source = undefined
or simply im(undefined)
im(undefined)
Is there a way to call gm / im without a file path or starting
-size
, I found this example:It doesn't seem like I can do this.