[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to save pictures (handles)
- To: BRIGHT@ENH.NIST.GOV
- Subject: Re: How to save pictures (handles)
- From: "Mark A. Tapia" <email@example.com>
- Date: Fri, 12 Jun 1992 10:54:17 -0400
- Cc: firstname.lastname@example.org
"David S. Bright" <BRIGHT@ENH.NIST.GOV> asks:
> Does anyone know how to save a picture to a file and read it back?
He mentions that he is running MCL1.3.2 and system 6.
There is code that supports MCL1 and MCL2 in the Example folder
in the picture-file.lisp file.
The exported routines are with-pict-input-file, with-pict-output-file
and display-pict-file. If you're creating large pictures, you'll
need to increase the value of the "lsiz" resource with ResEdit.
Otherwise there won't be enough heap space to save large pictures.
The problem disappears with MCL2.0f, since the heap can grow.