X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=coders%2Fgradient.c;h=16bbe3b79f07c0e852c8c5f86bdd30a87266fb82;hb=7e41fe84a841d7b9d7b36b245b65e9dcb3314943;hp=843801dadfcb3140db6dd77f0f5b76da641bb165;hpb=16af1cbdffcc02e7239d432e5fb51734fcf9f9ff;p=imagemagick diff --git a/coders/gradient.c b/coders/gradient.c index 843801dad..16bbe3b79 100644 --- a/coders/gradient.c +++ b/coders/gradient.c @@ -17,7 +17,7 @@ % July 1992 % % % % % -% Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization % +% Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization % % dedicated to making software imaging solutions freely available. % % % % You may not use this file except in compliance with the License. You may % @@ -157,10 +157,10 @@ static Image *ReadGRADIENTImage(const ImageInfo *image_info, % % The format of the RegisterGRADIENTImage method is: % -% unsigned long RegisterGRADIENTImage(void) +% size_t RegisterGRADIENTImage(void) % */ -ModuleExport unsigned long RegisterGRADIENTImage(void) +ModuleExport size_t RegisterGRADIENTImage(void) { MagickInfo *entry; @@ -169,7 +169,7 @@ ModuleExport unsigned long RegisterGRADIENTImage(void) entry->decoder=(DecodeImageHandler *) ReadGRADIENTImage; entry->adjoin=MagickFalse; entry->raw=MagickTrue; - entry->format_type=ExplicitFormatType; + entry->format_type=ImplicitFormatType; entry->description=ConstantString("Gradual linear passing from one shade to " "another"); entry->module=ConstantString("GRADIENT"); @@ -178,7 +178,7 @@ ModuleExport unsigned long RegisterGRADIENTImage(void) entry->decoder=(DecodeImageHandler *) ReadGRADIENTImage; entry->adjoin=MagickFalse; entry->raw=MagickTrue; - entry->format_type=ExplicitFormatType; + entry->format_type=ImplicitFormatType; entry->description=ConstantString("Gradual radial passing from one shade to " "another"); entry->module=ConstantString("GRADIENT");