Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ImageMagick - Under what conditions does it use GPU?

We need to resize many images a day. I'm thinking that we should buy two decent GPUs and stick them in an old desktop PC.

However, Image Magick may not be able to use the GPU on Windows (I can't see that it uses DirectX). It may not be able to use the GPU on Linux, since Linux may not have the OS hooks needed. It may only be able to use the GPU on a Mac.

I'm just guessing.

Does anyone know with any certainty which OS is best for this tool?

Thanks! Luke

like image 787
Luke Puplett Avatar asked Jan 16 '13 18:01

Luke Puplett


People also ask

Does ImageMagick use GPU?

ImageMagick can use OpenCL to use an accelerated graphics card (GPU) for processing.

Is GraphicsMagick better than ImageMagick?

GraphicsMagick is usually faster than ImageMagick. The baseline execution overhead for simple commands is much lower, and GraphicsMagick is also more efficient at dealing with large images.

What is ImageMagick used for?

Use ImageMagick® to create, edit, compose, or convert digital images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, WebP, HEIC, SVG, PDF, DPX, EXR and TIFF.

What is ImageMagick package?

ImageMagick is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF.


2 Answers

Apparently this graphics tool does not use the graphics processing unit by default.

https://superuser.com/questions/718556/imagemagick-for-windows-not-listing-opencl-as-enabled?rq=1

You have to learn how to compile the source on Linux with a special switch in order to get the tool to be any good at anything.

like image 56
Luke Puplett Avatar answered Oct 12 '22 06:10

Luke Puplett


ImageMagick uses the OpenCL library for any GPU calls, and they do provide a driver for all standard OS's (Windows/Mac/Linux). So for GPU driver compatibility, whatever OS you choose should not be a problem.

like image 34
PinnyM Avatar answered Oct 12 '22 06:10

PinnyM