Attached is a patch against 4.1.3 that adds ImageMagick support to ReadImage. Please try it out if you have interest in directly reading image files not currently supported by DX. If there are no objections, I'll check it in early next week.
Some highlights:
- Works with ImageMagick 5 (tested with 5.3.7)
- Reads images from PNGs, GIFs, MPEGs, Postscript files, etc. --
whatever support your ImageMagick library was built with
- Creates opacities/opacity map components for images which have
opacities or a transparency map (e.g. GIFs, PNGs, ...); use Render
- Supports both delayed and direct color images, with delayed->direct
option and float/byte option
- Smart chomping of supported ImageMagick extensions
- Supports DX convention for reading multi-frame multi-file sequences;
e.g. name="t.gif", where images are t.0.gif, t.1.gif, t.2.gif, etc.
- For multi-frame single-file images (e.g. animated GIFs, stacked
TIFF/PNGs, etc.), only loading the first image is supported
(ImageMagick is missing basic sub-image support; see the source
comments for details).
Randy
--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA MD/24 ERC-1A; RTP, NC 27711
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com<<attachment: readimage_imagemagick.patch.zip>>
