Changeset 3951

Show
Ignore:
Timestamp:
11/03/05 01:01:27 (3 years ago)
Author:
miyoshi
Message:

(define_imagemagick_type): Ignore Encapsulated
PostScript? related formats, which ImageMagick? cannot handle
correctly. Refer to ticke:209.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/ChangeLog.Meadow

    r3949 r3951  
     12005-11-03  MIYOSHI Masanori  <miyoshi@meadowy.org> 
     2 
     3        * image.c (define_imagemagick_type): Ignore Encapsulated 
     4        PostScript related formats, which ImageMagick cannot handle 
     5        correctly.  Refer to ticke:209. 
     6 
    172005-11-03  MIYOSHI Masanori  <miyoshi@meadowy.org> 
    28 
  • trunk/src/image.c

    r3949 r3951  
    1016810168  for (i = 0; i < nformats; i++) 
    1016910169    { 
    10170       if (!strcmp (formats[i], "XPM") || !strcmp (formats[i], "xpm")) 
     10170      if (!_stricmp (formats[i], "XPM")) 
    1017110171        continue; /* use built-in XPM decoder */ 
     10172      /* Ignore Encapsulated PostScript related formats.  */ 
     10173      if (!_stricmp (formats[i], "EPI") 
     10174          || !_stricmp (formats[i], "EPS") 
     10175          || !_stricmp (formats[i], "EPSF") 
     10176          || !_stricmp (formats[i], "EPSI") 
     10177          || !_stricmp (formats[i], "EPT") 
     10178          || !_stricmp (formats[i], "EPT2") 
     10179          || !_stricmp (formats[i], "EPT3")) 
     10180        continue; 
    1017210181      img_type.type = imagemagick_image_type_lisp_symbol (formats[i]); 
    1017310182      magick_relinquish_memory ((void **) formats[i]);