Projects
home:rottame:vhosts-ng
ImageMagick6
ImageMagick-libjpeg-turbo3.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-libjpeg-turbo3.patch of Package ImageMagick6 (Revision 3)
Currently displaying revision
3
,
Show latest
libjpeg-turbo 3 defines D_LOSSLESS_SUPPORTED/C_LOSSLESS_SUPPORTED but does not provide the old lossless libjpeg API (jpeg_info.process, JPROC_*, jpeg_simple_lossless): use that API only with a non-turbo libjpeg. --- a/coders/jpeg.c +++ b/coders/jpeg.c @@ -1103,7 +1103,7 @@ "Scale factor: %.20g",(double) scale_factor); } #if (JPEG_LIB_VERSION >= 61) && defined(D_PROGRESSIVE_SUPPORTED) -#if defined(D_LOSSLESS_SUPPORTED) +#if defined(D_LOSSLESS_SUPPORTED) && !defined(LIBJPEG_TURBO_VERSION_NUMBER) image->interlace=jpeg_info.process == JPROC_PROGRESSIVE ? JPEGInterlace : NoInterlace; image->compression=jpeg_info.process == JPROC_LOSSLESS ? @@ -2278,7 +2278,7 @@ } else { -#if !defined(C_LOSSLESS_SUPPORTED) +#if !defined(C_LOSSLESS_SUPPORTED) || defined(LIBJPEG_TURBO_VERSION_NUMBER) quality=100; if (image->debug != MagickFalse) (void) LogMagickEvent(CoderEvent,GetMagickModule(),"Quality: 100");
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.