From 3c984246cadb2bce0907c32390d564b7692fbb8c Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 31 Jul 2008 02:52:36 +0000 Subject: [PATCH] move bibliography to end of 'file' document svn: r10999 --- collects/file/gif.ss | 20 +++----------------- collects/file/scribblings/file.scrbl | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/collects/file/gif.ss b/collects/file/gif.ss index 34e3eb1d7a..50750f5ed4 100644 --- a/collects/file/gif.ss +++ b/collects/file/gif.ss @@ -586,26 +586,12 @@ The conversion treats alpha values less than 128 as transparent pixels, and other alpha values as solid. - The quantization process uses Octrees @cite["gervautz1990"] to construct an adaptive + The quantization process uses Octrees @cite["Gervautz1990"] to construct an adaptive palette for all (non-transparent) colors in the image. This implementation is - based on an article by Dean Clark @cite["clark1996"]. + based on an article by Dean Clark @cite["Clark1996"]. To convert a collection of images all with the same quantization, simply append them for the input of a single call of - @scheme[quantize], and then break apart the result bytes. - - @(bibliography - (bib-entry #:key "gervautz1990" - #:author "M. Gervautz and W. Purgathofer" - #:title "A simple method for color quantization: Octree quantization" - #:location "Graphics Gems" - #:date "1990") - - (bib-entry #:key "clark1996" - #:author "Dean Clark" - #:title "Color Quantization using Octrees" - #:location "Dr. Dobbs Journal" - #:date "January 1, 1996" - #:url "http://www.ddj.com/184409805"))})) + @scheme[quantize], and then break apart the result bytes.})) (define (quantize argb) (octree:quantize argb)) diff --git a/collects/file/scribblings/file.scrbl b/collects/file/scribblings/file.scrbl index f83edb2cd9..c626178876 100644 --- a/collects/file/scribblings/file.scrbl +++ b/collects/file/scribblings/file.scrbl @@ -12,4 +12,18 @@ @include-section["md5.scrbl"] @include-section["gif.scrbl"] +@(bibliography + (bib-entry #:key "Gervautz1990" + #:author "M. Gervautz and W. Purgathofer" + #:title "A simple method for color quantization: Octree quantization" + #:location "Graphics Gems" + #:date "1990") + + (bib-entry #:key "Clark1996" + #:author "Dean Clark" + #:title "Color Quantization using Octrees" + #:location "Dr. Dobbs Journal" + #:date "January 1, 1996" + #:url "http://www.ddj.com/184409805")) + @index-section[]