The terminal = jpg option does give the correct colors with draw2d( image(im,0,0,1,1), terminal = jpg, file_name = "case2" )$ ---> ok color default for example. Ted Woollett