Changeset 423

Show
Ignore:
Timestamp:
10/21/09 06:12:00 (5 months ago)
Author:
cristy
Message:
 
Location:
ImageMagick/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/PerlMagick/Makefile.PL.in

    r421 r423  
    146146 
    147147if (($^O eq 'MSWin32') && ($Config{cc} =~ /gcc/)) { 
    148   # a special setup for strawberry perl 
    149   my ($Ipaths, $Lpaths) = AutodetectWin32gcc(); 
     148  my($Ipaths, $Lpaths) = AutodetectWin32gcc(); 
     149 
     150  # 
     151  # Setup for strawberry perl. 
     152  # 
    150153  $INC_magick       = "$Ipaths"; 
    151154  $LIBS_magick      = "-lMagickCore"; 
     
    165168   'NAME'       => 'Image::Magick', 
    166169 
    167     Module author 
     170   # Module author 
    168171   'AUTHOR' => 'ImageMagick Studio LLC', 
    169172 
  • ImageMagick/trunk/coders/tiff.c

    r373 r423  
    25302530      } 
    25312531    } 
    2532 #if defined(MAGICKCORE_HAVE_TIFFGETCONFIGUREDCODECS) || (TIFFLIB_VERSION > 20040919) 
    2533     if (compress_tag != COMPRESSION_NONE) 
    2534       { 
    2535         TIFFCodec 
    2536           *codec; 
    2537  
    2538         codec=TIFFGetConfiguredCODECs(); 
    2539         while ((codec != (TIFFCodec *) NULL) && (codec->name != (char *) NULL)) 
    2540         { 
    2541           if (codec->scheme == compress_tag) 
    2542             break; 
    2543           codec++; 
    2544         } 
    2545         if (((codec == (TIFFCodec *) NULL)) || (codec->scheme != compress_tag)) 
    2546           { 
    2547             (void) ThrowMagickException(&image->exception,GetMagickModule(), 
    2548               CoderError,"CompressionNotSupported","`%s'", 
    2549               MagickOptionToMnemonic(MagickCompressOptions,(long) compression)); 
    2550             compress_tag=COMPRESSION_NONE; 
    2551             compression=NoCompression; 
    2552           } 
     2532#if defined(MAGICKCORE_HAVE_TIFFISCODECCONFIGURED) || (TIFFLIB_VERSION > 20040919) 
     2533    if ((compress_tag != COMPRESSION_NONE) && 
     2534        (TIFFIsCODECConfigured(compress_tag) == 0)) 
     2535      { 
     2536        (void) ThrowMagickException(&image->exception,GetMagickModule(), 
     2537          CoderError,"CompressionNotSupported","`%s'",MagickOptionToMnemonic( 
     2538          MagickCompressOptions,(long) compression)); 
     2539        compress_tag=COMPRESSION_NONE; 
     2540        compression=NoCompression; 
    25532541      } 
    25542542#else