[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving color windows as PICT files



On Fri Apr 14,  J.GP.CS.CMU.EDU!nandita sent
mail to those who responded to a problem with with-pict-output-file
for color pictures.

I've verified that with-pict-output file crashes whenever the window
contains 224 x 224 pixels. Consider the following addition to the
sample code in picture-files.lisp (in ccl:Examples;).

(loop for i from 0 to 10 with point
      do (loop for j from i to 10
               do (setq point (add-points #@(220 220) (make-point i j)))
               (set-view-size *w* point)
               (print (point-string point))
               (do-it)))
The code runs correctly for all window sizes from 220 x 220, failing
as soon as i=4 and j = 4. The system then freezes. Evidently the
utility cannot write color pictures with at least  224 x 224 = 50176 bytes =
49k.

mark