Hi all,
Is it possible to resize same image multiple times for different sizes in single api, same way script is doing?
Thanks in advance
resize same image multiple times for different sizes
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: resize same image multiple times for different sizes
What script?Coder wrote:... same way script is doing?
A single call to a Magick++ function can't create multiple copies at different sizes. But you can create a clone then resize that, and repeat as many times as you want.
snibgo's IM pages: im.snibgo.com
Re: resize same image multiple times for different sizes
What script?
I meant the way the command line works, you can give multiple commands in a single line and I read some posts here telling that way imagemagick provide some performance improvements. I was trying to improve performance of my application which uses imagemagick ( imagemagick is eating CPU for the APIs sample, draw and fontTypeMetrics )
I meant the way the command line works, you can give multiple commands in a single line and I read some posts here telling that way imagemagick provide some performance improvements. I was trying to improve performance of my application which uses imagemagick ( imagemagick is eating CPU for the APIs sample, draw and fontTypeMetrics )
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: resize same image multiple times for different sizes
Multiple commands in a single line is only for the command line interpreter version of ImageMagick. It does not apply to APIs such as Magick++.
Re: resize same image multiple times for different sizes
Thanks for confirming this