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

Home » Public Forums » archive » Dialog_Write_Image woes
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Dialog_Write_Image woes [message #42346] Fri, 28 January 2005 11:25
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Hello All,

I have just bumped into something unexpected in DIALOG_WRITE_IMAGE. I can't
access the various output formats if I set the TYPE keyword without setting the
FIX_TYPE keyword.

Here's the description of TYPE in the online help:
Set this keyword to a scalar string containing the format type the "Save as
type" field should begin with. The default is "TIFF". The user can modify the
type unless the FIX_TYPE keyword is set. Valid values are obtained from the list
of supported image types returned from QUERY_IMAGE. The "Save as type" field
will reflect the type of the selected file (if one is selected).


For example...

ok = dialog_write_image(bytarr(50,50), type = "TIFF")

should come up with the TYPE set to TIFF, but the user should still have access
to the other file type (but they don't). Whereas, ...

ok = dialog_write_image(bytarr(50,50), type = "TIFF", FIX_TYPE = 1) should
prevent user access to the other types (and it does).

Is there something here that I am missing?

Thanks!
Ben

IDL> print, !Version
{ ppc darwin unix Mac OS X 6.1.1 Oct 11 2004 32 32}
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: voxel_proj and array type
Next Topic: Re: Dialog_Write_Image woes

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

Current Time: Wed Oct 08 17:47:38 PDT 2025

Total time taken to generate the page: 0.00668 seconds