From: cristy Date: Fri, 16 May 2014 13:22:37 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2340 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=713ec6474c9773d1f66631cb580687c8243329f4;p=imagemagick --- diff --git a/MagickCore/magic.c b/MagickCore/magic.c index 9f57ffc54..93772aa1a 100644 --- a/MagickCore/magic.c +++ b/MagickCore/magic.c @@ -121,7 +121,6 @@ static const MagicMapInfo { "FIG", 0, MagickString("#FIG") }, { "FITS", 0, MagickString("IT0") }, { "FITS", 0, MagickString("SIMPLE") }, - { "FPX", 0, MagickString("\320\317\021\340") }, { "GIF", 0, MagickString("GIF8") }, { "GPLT", 0, MagickString("#!/usr/local/bin/gnuplot") }, { "HDF", 1, MagickString("HDF") }, diff --git a/coders/fpx.c b/coders/fpx.c index 65ab06431..e3b25507c 100644 --- a/coders/fpx.c +++ b/coders/fpx.c @@ -84,40 +84,6 @@ static MagickBooleanType WriteFPXImage(const ImageInfo *,Image *,ExceptionInfo *); #endif -/* -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% % -% % -% % -% I s F P X % -% % -% % -% % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% -% IsFPX() returns MagickTrue if the image format type, identified by the -% magick string, is FPX. -% -% The format of the IsFPX method is: -% -% MagickBooleanType IsFPX(const unsigned char *magick,const size_t length) -% -% A description of each parameter follows: -% -% o magick: compare image format pattern against these bytes. -% -% o length: Specifies the length of the magick string. -% -*/ -static MagickBooleanType IsFPX(const unsigned char *magick,const size_t length) -{ - if (length < 4) - return(MagickFalse); - if (memcmp(magick,"\320\317\021\340",4) == 0) - return(MagickTrue); - return(MagickFalse); -} - #if defined(MAGICKCORE_FPX_DELEGATE) /* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -531,7 +497,6 @@ ModuleExport size_t RegisterFPXImage(void) entry->adjoin=MagickFalse; entry->seekable_stream=MagickTrue; entry->blob_support=MagickFalse; - entry->magick=(IsImageFormatHandler *) IsFPX; entry->description=ConstantString("FlashPix Format"); entry->module=ConstantString("FPX"); (void) RegisterMagickInfo(entry); diff --git a/config/delegates.xml.in b/config/delegates.xml.in index 08807db4d..e2d6ed396 100644 --- a/config/delegates.xml.in +++ b/config/delegates.xml.in @@ -73,8 +73,8 @@ - - + + @@ -94,7 +94,7 @@ - +