"John Krewson" on  wrote...
| Greetings,
| 
| I have just begun some research in this area and thought I would post the
| question straight to those who know:
| 
| Can ImageMagick in any way take advantage of a video card when rendering
| images?  We are currently upgrading our image processing system to a newer
| sparc server, and I was wondering if ImageMagick could possibly be
| configured to take advantage of a card in order to lessen the CPU usage.
| 
| Thanks for any input, great program!

If the card provides a device for a program to read RGB values from, yes
it is posible.

For example the following use to work on linuxes that provided a frame
buffered device (direct access to the Xwindow display).   The later
linuxes don't seem to provide this device anymore. :-(

   convert -depth 8 -size 800x600 rgb:/dev/fb/0'[0]' \
           -channel RGB -separate -swap 0,2 -combine \
           outfile.png

You do need to know what the size of the display was, and the
retrieved image was in in blue, green and red order, so the
second line swaps the blue and red channels.


For a more controled read, the "stream" command -format should
be able to give you a highly controled conversion of raw data to image.

  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
    "Whuf"  added the dragon.       -- Rick Cook, "Wizardry Consulted"
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[EMAIL PROTECTED]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to