Page 1 of 1

need to resize just the imported image

Posted: 2018-07-03T13:43:48-07:00
by UnitZer0
I am trying to generate a gradient with a image in svg format located in the top left corner but i need to resize the image that im placing in the top left bu when i use the code below it just resizes the whole image to the resize value im in msdos/windows Command line

Code: Select all

magick -size 1920x1080 canvas:Black -composite ^
 -size 1920x1080 -define gradient:extent=diagonal radial-gradient:Black-red -composite ^
 ( -density 300 -background none .\pic.svg -resize 100x100! ) -gravity North West -geometry +0+0 test.png

Re: need to resize just the imported image

Posted: 2018-07-03T13:54:26-07:00
by UnitZer0
Nvm Figured it out

Code: Select all

-size 1920x1080 canvas:Black -composite ^
-size 1920x1080 -define gradient:extent=diagonal radial-gradient:Black-red ^
 ( -density 300 -background none .\Logo.svg -resize 100x100! ) -gravity South -geometry +0+0 -composite ^
 test.png