need to resize just the imported image

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
UnitZer0
Posts: 2
Joined: 2018-07-03T13:37:43-07:00
Authentication code: 1152

need to resize just the imported image

Post 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
UnitZer0
Posts: 2
Joined: 2018-07-03T13:37:43-07:00
Authentication code: 1152

Re: need to resize just the imported image

Post 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
Post Reply