🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1458

Re: PS Level 2 image interpolation

#1458
From: Ian Kemmish
Date: Tue, 13 Oct 1992 19:47
27 lines
1575 bytes
cartley@slate.mines.colorado.edu (Craig Artley) writes:

>I'm trying to enable Level 2 image interpolation by setting Interpolate
>to true in the image dictionary.  As I understand the description of
>Interpolate on p. 222 of the red book, this should smoothly interpolate
>between sample values when the source resolution is lower than the
>device resolution.  Unfortunately, when i run the code below I simply
>get the same checkerboard result as when interpolation is disabled.
>	
>Am I doing something wrong?
>
> <<Sample PS code deleted>>

Depending on the sophistication or otherwise of your favorite
RIP's interpolating algorithm, the 3x3 pixel example you quote
may simply not be big enough to turn interpolation on.  My clone
uses bilinear interpolation, so your file works fine.  A weird
bicubic algorithm might decide that an image that (in its terms)
was composed entirely of `egdes' was not worth bothering about.

Or it might be a bug:-)

-- 
Ian D. Kemmish                    Tel. +44 767 601 361
18 Durham Close                   uad1077@dircon.co.uk
Biggleswade                       uknet!dircon!uad1077
Beds SG18 8HZ United Kingdom
Technical Details
Message-ID: <1992Oct13.194709.21454@dircon.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!slxsys!dircon!uad1077
References: <1992Oct12.185740.28980@slate.mines.colorado.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer,comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!slxsys!dircon!uad1077
From: uad1077@dircon.co.uk (Ian Kemmish)
Subject: Re: PS Level 2 image interpolation
Date: Tue, 13 Oct 1992 19:47:09 GMT
Message-ID: <1992Oct13.194709.21454@dircon.co.uk>
References: <1992Oct12.185740.28980@slate.mines.colorado.edu>
Keywords: Level 2 image interpolation
Lines: 27