From 74436d9e48c3b9e33ca8731bf6f213dc0ec93f77 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 1 Sep 1992 20:43:12 +0000 Subject: [PATCH] In picture->pgm-file, always scale. --- v7/src/6001/picture.scm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/v7/src/6001/picture.scm b/v7/src/6001/picture.scm index 61a09b9ef..d50fb8722 100644 --- a/v7/src/6001/picture.scm +++ b/v7/src/6001/picture.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/6001/picture.scm,v 1.14 1992/09/01 20:42:43 cph Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/6001/picture.scm,v 1.15 1992/09/01 20:43:12 cph Exp $ Copyright (c) 1991-92 Massachusetts Institute of Technology @@ -305,10 +305,6 @@ MIT in each case. |# (fasdump picture path-name))) (error:wrong-type-argument picture "picture" 'PICTURE-WRITE)))) -;;; This writes a picture in raw pgm format. If all values are between -;;; 0 and 255, then the values are written as is. Otherwise they are compressed -;;; to lie in the range 0 to 255. - (define (picture->pgm-file pic file) (let* ((width (picture-width pic)) (height (picture-height pic)) -- 2.25.1