cgsnapshot-->dialog_pickfile:Bad initial filename [message #90592] |
Thu, 12 March 2015 10:06  |
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?
|
|
|
|
|
|