comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Array Dimensions and WRITE_GIF
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Array Dimensions and WRITE_GIF [message #10642] Fri, 26 December 1997 00:00 Go to previous message
Burkhard Prause is currently offline  Burkhard Prause
Messages: 6
Registered: February 1997
Junior Member
Hi everybody,

a question from an occasional user:

I thought I'd use IDL to reformat several hundred tiff files into gifs.
So TIFF_READ reads every tiff image into a three dimensional array, of
dimension (3,*,*).

WRITE_GIF then gives me the error message:Must be a byte matrix.

This happens when I use my own code, the JHU tif2gif.pro, or line by
line. Since I want to process hundreds of these, using gifscreen is out
of the question, though it works for single images.

Why this is happening, I don't know - it seems to work for other people,
since the nice folks at JHU put their code out there. I'd be satisfied
to simply truncate the first dimension and write just a (1,*,*) array
into gif, but it will not accept that either.

How do I extract a truly two dimensional array from a three dimensional
one, if the "first" dimension is the one to be eliminated?

I'll be happy for any insight into this problem.
--
************************************************************ ********************
BURKHARD A. PRAUSE
DEPARTMENT OF PHYSICS
UNIVERSITY OF NOTRE DAME
NOTRE DAME, IN 46556
bprause@campra.phys.nd.edu
(219) 631-4088
Fax: (219) 6315952
************************************************************ ********************
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: A third-party example
Next Topic: Problem with ".cdf" files on Windows

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:36:01 PDT 2025

Total time taken to generate the page: 0.00680 seconds