comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: cgsnapshot-->dialog_pickfile:Bad initial filename
items: Re: cgsnapshot-->dialog_pickfile:Bad initial filename

cgsnapshot-->dialog_pickfile:Bad initial filename
type: item
description: I used the following code to extract my images as tif files directory = 'C:\Users\Images' file_mkdir, directory write_tif, directory + '\' + name, tvrd () I overlaid a grid on the top of the images. When the images exported as tif files the grid was not red any more, it appears in white colour. To keep the colour of the grid I used the cgsnapshot instead directory = 'C:\Users\Images' void = cgsnapshot(/tif, filename= directory + '\' +name) But I got the following system error cgsnapshot-->dialog_pickfile:Bad initial filename: C:\Users\ Can anyone help with this?
creator: g.nacarts
date: 2015-03-12T17:06:27-00:00

Re: cgsnapshot-->dialog_pickfile:Bad initial filename
type: item
description: g.nacarts@gmail.com writes: > I used the following code to extract my images as tif files > > directory = 'C:\Users\Images' > > file_mkdir, directory > > write_tif, directory + '\' + name, tvrd () > > I overlaid a grid on the top of the images. When the images exported as tif files the grid was not red any more, it appears in white colour. To keep the colour of the grid I used the cgsnapshot instead > > directory = 'C:\Users\Images' > void = cgsnapshot(/tif, filename= directory + '\' +name) > > But I got the following system error > > cgsnapshot-->dialog_pickfile:Bad initial filename: C:\Users\ > > Can anyone help with this? Define the "name" variable. Cheers, David -- David Fanning, Ph.D. Fanning Software Consulting, Inc. Coyote's Guide to IDL Programming: http://www.idlcoyote.com/ Sepore ma de ni thue. ("Perhaps thou speakest truth.")
creator: David Fanning
date: 2015-03-12T17:16:26-00:00

Re: cgsnapshot-->dialog_pickfile:Bad initial filename
type: item
description: I already defined the "name"
creator: g.nacarts
date: 2015-03-12T17:32:33-00:00

Re: cgsnapshot-->dialog_pickfile:Bad initial filename
type: item
description: g.nacarts@gmail.com writes: > > I already defined the "name" I'm sure you *thought* you had, but the error message testifies otherwise. :-) Cheers, David -- David Fanning, Ph.D. Fanning Software Consulting, Inc. Coyote's Guide to IDL Programming: http://www.idlcoyote.com/ Sepore ma de ni thue. ("Perhaps thou speakest truth.")
creator: David Fanning
date: 2015-03-12T17:41:18-00:00