From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8e0bd6e9dd16b007f6afd711a1dd2b9d@quanstro.net> From: erik quanstrom Date: Sun, 27 Aug 2006 13:22:28 -0500 To: 9fans@cse.psu.edu Subject: Re: [9fans] shrinking an Image? In-Reply-To: <200608271734.k7RHYVl22017@demeter.cs.utwente.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: a8a11724-ead1-11e9-9d60-3106f5b1d025 you could have skipped this step by disabling error diffusion. the bugs section of iconv(1) mentions this. i think the main problem with the current error diffusion is that the scan always goes from left to right. a simple fix might be to alternate the scan from left-to-right then right-to-left. also, the error diffusion needs to be extended beyond 3 color channels (for example, to b&w). perhaps i don't understand the problem properly, but i think it might make sense to remove the error diffusion from jpg and friends and add it to iconv. - erik