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

Home » Public Forums » archive » cgsnapshot-->dialog_pickfile:Bad initial filename
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
cgsnapshot-->dialog_pickfile:Bad initial filename [message #90592] Thu, 12 March 2015 10:06 Go to previous message
g.nacarts is currently offline  g.nacarts
Messages: 148
Registered: November 2013
Senior Member
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?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: log scale colorbar in IDL 8.0
Next Topic: how can i get parent process pid on windows using IDL

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

Current Time: Wed Oct 08 11:48:58 PDT 2025

Total time taken to generate the page: 0.00250 seconds