Hello.
Perhaps my question is trivial. But he worries me.
I use the imagemagick on linux for crop and resize operations in the streams.
How to calculate how much need RAM and CPU time to perform operations?
If I run multiple processes at the same time they will be processed one by one or all at once?
ImageMagick and RAM
ImageMagick and RAM
Everything is possible...
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: ImageMagick and RAM
The Consulting forum is for paid consultancy, so I'm moving this to Users.
For RAM: IM v6 Q16 uses 8 bytes per pixel. There is also some overhead per image, and unpacking and compressing images also takes RAM.
For CPU: there are too many variables to predict. You can measure CPU usage.
For RAM: IM v6 Q16 uses 8 bytes per pixel. There is also some overhead per image, and unpacking and compressing images also takes RAM.
For CPU: there are too many variables to predict. You can measure CPU usage.
The question is vague. IM generally uses multi-threading, so each processing operation on an image is split between threads and hence between processors. When one operation (eg "-resize") is complete, the next one is performed.srsd wrote:If I run multiple processes at the same time they will be processed one by one or all at once?
snibgo's IM pages: im.snibgo.com