From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Steve Simon" Date: Mon, 28 Aug 2006 23:17:33 +0100 To: 9fans@cse.psu.edu Subject: Re: [9fans] shrinking an Image? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: a96585f0-ead1-11e9-9d60-3106f5b1d025 > I find that resample(1) is not visually as faithful as (even?) > page(1)'s built-in resizer. I have not explored the possible causes, > however. For JPEG and 2, 4, 8 times resizing (shrinking) I find the > cjpeg | djpeg combination to be preferable. Just a guess, but prehaps page does resample in screen space (e.g. 16bpp) whereas resample(1) probably runs faithfully in YUV (well, more likely RGB) space. This could easily have the effect of amplifying the JPEG compression artiacts. Resampling in the incorrect gamma land can also have strange effects like this. -Steve