From owner-freebsd-ports Mon May 14 17:25: 9 2001 Delivered-To: freebsd-ports@freebsd.org Received: from aladdin.com (aladdin.com [209.157.132.18]) by hub.freebsd.org (Postfix) with ESMTP id 5DEAE37B422; Mon, 14 May 2001 17:25:07 -0700 (PDT) (envelope-from ghost@aladdin.com) Received: (from daemon@localhost) by aladdin.com (8.10.1/8.9.1) id f4F07sB10387; Mon, 14 May 2001 17:07:54 -0700 (PDT) Received: from lamp.aladdin.com(10.0.0.4), claiming to be "aladdin.com" via SMTP by sand.aladdin.com, id smtpdx32327; Mon May 14 17:07:51 2001 Received: (from ghost@localhost) by aladdin.com (8.9.1/8.9.1) id RAA00297; Mon, 14 May 2001 17:27:54 -0700 Date: Mon, 14 May 2001 17:27:54 -0700 Message-Id: <200105150027.RAA00297@aladdin.com> From: "L. Peter Deutsch" To: mi@aldan.algebra.com Cc: ports@freebsd.org, andreas@freebsd.org, raph@artofcode.com In-reply-to: <200105150018.f4F0Ivq14289@misha.privatelabs.com> Subject: Re: GhostScript and JPEG References: <200105150018.f4F0Ivq14289@misha.privatelabs.com> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Khmm, was this ever suggested to the libjpeg maintainers? Yes. Their opinion is reflected in the following comment in jpeglib.h: /* Unfortunately, some bozo at Adobe saw no reason to be bound by the standard; * the PostScript DCT filter can emit files with many more than 10 blocks/MCU. * If you happen to run across such a file, you can up D_MAX_BLOCKS_IN_MCU * to handle it. We even let you do this from the jconfig.h file. However, * we strongly discourage changing C_MAX_BLOCKS_IN_MCU; just because Adobe * sometimes emits noncompliant files doesn't mean you should too. */ #define C_MAX_BLOCKS_IN_MCU 10 /* compressor's limit on blocks per MCU */ #ifndef D_MAX_BLOCKS_IN_MCU #define D_MAX_BLOCKS_IN_MCU 10 /* decompressor's limit on blocks per MCU */ #endif -- L. Peter Deutsch | Aladdin Enterprises | 203 Santa Margarita Ave. ghost@aladdin.com | http://www.aladdin.com | Menlo Park, CA 94025 The future of software is at http://www.opensource.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message