Date: Tue, 15 May 2001 10:58:50 -0400 (EDT) From: Mikhail Teterin <mi@aldan.algebra.com> To: ghost@aladdin.com Cc: ports@freebsd.org, andreas@freebsd.org, raph@artofcode.com, jseger@freebsd.org Subject: Re: GhostScript and JPEG Message-ID: <200105151458.f4FEwrt62595@aldan.algebra.com> In-Reply-To: <200105150027.RAA00297@aladdin.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 14 May, L. Peter Deutsch wrote: >> 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 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. -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105151458.f4FEwrt62595>