robbin@scotty.UUCP (J. Wally Reid) (06/14/88)
Help! I'm using the "readcanvas" and "imagecanvas" commands of the
Sun NeWS package (post-script based) to display a bit-mapped image
on a "canvas". Each time I do this, lots of space (up to 2 MB) gets
allocated. The space is allocated to save a copy of the image for
refresh, but it does not get ("automagically") freed until the program
exits. I have been told by people at Sun that there exists a program
command to free this space but no one can tell me what it is, nor can
I find it in the manual. Can anyone help??
Thanks, Robbin.
P.S. "makecanvasnonretained" sort of solves the problem by not
allocating the space to save a copy of the image, but if
another window gets placed over the image, the original can't
be refreshed and thus is lost.
e-mail may be addressed to ..!rochester!kodak!fedsys!ski!robbin or
I'll be watching this space for an answer. Thanks again for any
help you can offer. R.