Jay Lyerly:
 |I managed to use ImageMagick to convert the images to TIFF24 which
 |'identify' reports as a DirectClass image.  Unfortunately, the same
 |problems appear.

Hmm.  That's puzzling.

 |I'm hoping that telling readImage to use the ImageMagick reader will
 |solve my problems (since ImageMagick handles the hdf image correctly) but
 |that option doesn't appear on my version of OpenDX.
 |While looking through the list archives, there was mention that this was
 |added recently.  I'm running 4.1.3 from redhat rpm's that I downloaded
 |last weekend.

Ah, that explains it.  It's high time for another DX release.  I added
ImageMagick support to ReadImage in CVS last September (4.1.3 was released
months before).

If the name of the game is just to get this data up as fast as possible, do
this:

     convert in.tiff in.rgb
     echo "512x128" > in.size

Now do a ReadImage( name="in.rgb", format="rgb" ).

Or, since you're a Linux hacker (judging from your e-mail header), for a
more long term solution you can probably handle pulling and building a CVS
snapshot with ImageMagick support without much problem.  Use rpm to delete
your current dx package, then:

   # Fetch
   cvs -d :pserver:[EMAIL PROTECTED]:/src/master login
   Password: anoncvs
   cvs -d :pserver:[EMAIL PROTECTED]:/src/master checkout dx

   # Configure & build
   CVSMake
   configure
   gmake install

You can give configure --prefix as usual to have DX install someplace other
than /usr/local.  Also, verify that configure detects Magick and HDF on
your system before spending the time for a build.

 |What version do I need to get the ImageMagick reader?  I did notice that
 |I apparently have ImageMagick writer support in writeImage.  Will there
 |be problems with the ImageMagick reader and the hdf libraries?  

I don't think there should be.  I build DX here with both HDF and
ImageMagick support (albeit on IRIX and FreeBSD).

Randy

--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA N127-01; RTP, NC 27711

Reply via email to