Greetings,
I'm using ImageMagick in Windows
I need a script to do the following for batch files:
1)resizing canvas size height to some varrible
2)and center aligning image in this new canvas
Well, I am new in ImageMagick scripting
Please, help me
Thanks a lot
Script for resize canvas size and aling image in center of canvas
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Script for resize canvas size and aling image in center of canvas
I don't understand what you want to do. "-resize" will resize an image, but then there is no question of centering it.
snibgo's IM pages: im.snibgo.com
Re: Script for resize canvas size and aling image in center of canvas
i need to resize canvas, not image
Re: Script for resize canvas size and aling image in center of canvas
You need to explain further; I recommend you post a graphical example of what you want.
-extent can increase canvas size and -gravity center will center the image on the background.
-size will create a canvas
-extent can increase canvas size and -gravity center will center the image on the background.
-size will create a canvas
Re: Script for resize canvas size and aling image in center of canvas
thank you for help. This command save a lot of my timeBonzo wrote:You need to explain further; I recommend you post a graphical example of what you want.
-extent can increase canvas size and -gravity center will center the image on the background.
-size will create a canvas