From owner-freebsd-ports Tue May 15 11: 6:46 2001 Delivered-To: freebsd-ports@freebsd.org Received: from privatecube.privatelabs.com (privatecube.privatelabs.com [63.114.185.254]) by hub.freebsd.org (Postfix) with ESMTP id E78F037B422; Tue, 15 May 2001 11:06:42 -0700 (PDT) (envelope-from mi@aldan.algebra.com) Received: from misha.privatelabs.com (root@misha.plten [10.0.0.106]) by privatecube.privatelabs.com (8.9.3/8.9.2) with ESMTP id NAA26587; Tue, 15 May 2001 13:27:18 -0400 From: mi@aldan.algebra.com Received: from misha.privatelabs.com (mi@localhost [127.0.0.1]) by misha.privatelabs.com (8.11.3/8.11.1) with ESMTP id f4FI6Yr26882; Tue, 15 May 2001 14:06:35 -0400 (EDT) (envelope-from mi@aldan.algebra.com) Message-Id: <200105151806.f4FI6Yr26882@misha.privatelabs.com> Date: Tue, 15 May 2001 14:06:33 -0400 (EDT) Reply-To: mi@aldan.algebra.com Subject: Re: GhostScript and JPEG To: kellyzg@hotmail.com Cc: ghost@aladdin.com, ports@freebsd.org, andreas@freebsd.org, raph@artofcode.com, jseger@freebsd.org In-Reply-To: <20010515172345.Q4904-100000@panda.pearlview.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 15 May, Leonard K. wrote: > > On Tue, 15 May 2001, Mikhail Teterin wrote: >> >> Ok, this is an argument to keep C_MAX_BLOCKS_IN_MCU at 10, but to bump >> up the D_... to 64. Any objections to me applying this change to the >> jpeg port? (JSeger seems to be off-line for months :( ) Then the >> ghostscript ports can be modified to the shared jpeg library. > > Just out of curiosity: if we bump the jpeg library's 'max block' to 64, > and I use the library to write a new jpeg file (using maybe xv), > would the new file be sometimes non-standard-compliant and thus be > rejected by some viewers ? My understanding is, no. To produce a non-compliant jpeg, you need the value of C_MAX_BLOCKS_IN_MCU (Compress) increased. D_MAX_BLOCKS_IN_MCU is for the Decompressor. > If so, then in my humble opinion I think we need to keep jpeg library > the way it is, and let ghostscript fend for itself. No, I think it is safe to bump up D_MAX_BLOCKS_IN_MCU. -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message