/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r P R E V I E W I m a g e                                   %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterPREVIEWImage() adds attributes for the Preview image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterPREVIEWImage method is:
%
%      size_t RegisterPREVIEWImage(void)
%
*/
ModuleExport size_t RegisterPREVIEWImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("PREVIEW");
  entry->encoder=(EncodeImageHandler *) WritePreviewImage;
  entry->adjoin=MagickFalse;
  entry->format_type=ImplicitFormatType;
  entry->description=ConstantString(
    "Show a preview an image enhancement, effect, or f/x");
  entry->module=ConstantString("PREVIEW");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r V I C A R I m a g e                                       %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterVICARImage() adds attributes for the VICAR image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterVICARImage method is:
%
%      unsigned long RegisterVICARImage(void)
%
*/
ModuleExport unsigned long RegisterVICARImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("VICAR");
  entry->decoder=(DecodeImageHandler *) ReadVICARImage;
  entry->encoder=(EncodeImageHandler *) WriteVICARImage;
  entry->magick=(IsImageFormatHandler *) IsVICAR;
  entry->adjoin=MagickFalse;
  entry->description=ConstantString("VICAR rasterfile format");
  entry->module=ConstantString("VICAR");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #3
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r S G I I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterSGIImage() adds properties for the SGI image format to
%  the list of supported formats.  The properties include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterSGIImage method is:
%
%      size_t RegisterSGIImage(void)
%
*/
ModuleExport size_t RegisterSGIImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("SGI");
  entry->decoder=(DecodeImageHandler *) ReadSGIImage;
  entry->encoder=(EncodeImageHandler *) WriteSGIImage;
  entry->magick=(IsImageFormatHandler *) IsSGI;
  entry->description=ConstantString("Irix RGB image");
  entry->module=ConstantString("SGI");
  entry->seekable_stream=MagickTrue;
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #4
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r T I L E I m a g e                                         %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterTILEImage() adds attributes for the TILE image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterTILEImage method is:
%
%      unsigned long RegisterTILEImage(void)
%
*/
ModuleExport unsigned long RegisterTILEImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("TILE");
  entry->decoder=(DecodeImageHandler *) ReadTILEImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Tile image with a texture");
  entry->module=ConstantString("TILE");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #5
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r R G F I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterRGFImage() adds attributes for the RGF image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterRGFImage method is:
%
%      size_t RegisterRGFImage(void)
%
*/
ModuleExport size_t RegisterRGFImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("RGF");
  entry->decoder=(DecodeImageHandler *) ReadRGFImage;
  entry->encoder=(EncodeImageHandler *) WriteRGFImage;
  entry->adjoin=MagickFalse;
  entry->description=ConstantString(
    "LEGO Mindstorms EV3 Robot Graphic Format (black and white)");
  entry->module=ConstantString("RGF");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #6
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r C I N E O N I m a g e                                     %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterCINImage() adds attributes for the CIN image format to the list of
%  of supported formats.  The attributes include the image format tag, a method
%  to read and/or write the format, whether the format supports the saving of
%  more than one frame to the same file or blob, whether the format supports
%  native in-memory I/O, and a brief description of the format.
%
%  The format of the RegisterCINImage method is:
%
%      size_t RegisterCINImage(void)
%
*/
ModuleExport size_t RegisterCINImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("CIN");
  entry->decoder=(DecodeImageHandler *) ReadCINImage;
  entry->encoder=(EncodeImageHandler *) WriteCINImage;
  entry->magick=(IsImageFormatHandler *) IsCIN;
  entry->adjoin=MagickFalse;
  entry->description=ConstantString("Cineon Image File");
  entry->module=ConstantString("CIN");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #7
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r Y U V I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterYUVImage() adds attributes for the YUV image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterYUVImage method is:
%
%      unsigned long RegisterYUVImage(void)
%
*/
ModuleExport unsigned long RegisterYUVImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("YUV");
  entry->decoder=(DecodeImageHandler *) ReadYUVImage;
  entry->encoder=(EncodeImageHandler *) WriteYUVImage;
  entry->adjoin=MagickFalse;
  entry->raw=MagickTrue;
  entry->description=ConstantString("CCIR 601 4:1:1 or 4:2:2");
  entry->module=ConstantString("YUV");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #8
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r A R T I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterARTImage() adds attributes for the ART image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterARTImage method is:
%
%      size_t RegisterARTImage(void)
%
*/
ModuleExport size_t RegisterARTImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("ART");
  entry->decoder=(DecodeImageHandler *) ReadARTImage;
  entry->encoder=(EncodeImageHandler *) WriteARTImage;
  entry->raw=MagickTrue;
  entry->adjoin=MagickFalse;
  entry->description=ConstantString("PFS: 1st Publisher Clip Art");
  entry->module=ConstantString("ART");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #9
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r G R A Y I m a g e                                         %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterGRAYImage() adds attributes for the GRAY image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterGRAYImage method is:
%
%      unsigned long RegisterGRAYImage(void)
%
*/
ModuleExport unsigned long RegisterGRAYImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("GRAY");
  entry->decoder=(DecodeImageHandler *) ReadGRAYImage;
  entry->encoder=(EncodeImageHandler *) WriteGRAYImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Raw gray samples");
  entry->module=ConstantString("GRAY");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #10
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r X P S I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterXPSImage() adds attributes for the Microsoft XML Paper Specification
%  format to the list of supported formats.  The attributes include the image
%  format tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterXPSImage method is:
%
%      size_t RegisterXPSImage(void)
%
*/
ModuleExport size_t RegisterXPSImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("XPS");
  entry->decoder=(DecodeImageHandler *) ReadXPSImage;
  entry->adjoin=MagickFalse;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->thread_support=EncoderThreadSupport;
  entry->description=ConstantString("Microsoft XML Paper Specification");
  entry->module=ConstantString("XPS");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #11
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r M V G I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterMVGImage() adds properties for the MVG image format
%  to the list of supported formats.  The properties include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterMVGImage method is:
%
%      size_t RegisterMVGImage(void)
%
*/
ModuleExport size_t RegisterMVGImage(void)
{
    MagickInfo
    *entry;

    entry=SetMagickInfo("MVG");
    entry->decoder=(DecodeImageHandler *) ReadMVGImage;
    entry->encoder=(EncodeImageHandler *) WriteMVGImage;
    entry->magick=(IsImageFormatHandler *) IsMVG;
    entry->adjoin=MagickFalse;
    entry->seekable_stream=MagickTrue;
    entry->description=ConstantString("Magick Vector Graphics");
    entry->module=ConstantString("MVG");
    (void) RegisterMagickInfo(entry);
    return(MagickImageCoderSignature);
}
Beispiel #12
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r M A P I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterMAPImage() adds attributes for the MAP image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterMAPImage method is:
%
%      unsigned long RegisterMAPImage(void)
%
*/
ModuleExport unsigned long RegisterMAPImage(void)
{
    MagickInfo
    *entry;

    entry=SetMagickInfo("MAP");
    entry->decoder=(DecodeImageHandler *) ReadMAPImage;
    entry->encoder=(EncodeImageHandler *) WriteMAPImage;
    entry->adjoin=MagickFalse;
    entry->raw=MagickTrue;
    entry->endian_support=MagickTrue;
    entry->description=ConstantString("Colormap intensities and indices");
    entry->module=ConstantString("MAP");
    (void) RegisterMagickInfo(entry);
    return(MagickImageCoderSignature);
}
Beispiel #13
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r H A L D I m a g e                                         %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterHALDImage() adds attributes for the Hald color lookup table image
%  format to the list of supported formats.  The attributes include the image
%  format tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob, whether
%  the format supports native in-memory I/O, and a brief description of the
%  format.
%
%  The format of the RegisterHALDImage method is:
%
%      size_t RegisterHALDImage(void)
%
*/
ModuleExport size_t RegisterHALDImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("HALD");
  entry->decoder=(DecodeImageHandler *) ReadHALDImage;
  entry->adjoin=MagickFalse;
  entry->format_type=ImplicitFormatType;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->description=ConstantString("Identity Hald color lookup table image");
  entry->module=ConstantString("HALD");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #14
0
/*
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %                                                                             %
 %                                                                             %
 %                                                                             %
 %   R e g i s t e r I P L I m a g e                                           %
 %                                                                             %
 %                                                                             %
 %                                                                             %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
 % RegisterIPLImage() add attributes for the Scanalytics IPL image format to the
 % list of supported formats.  
 %
 %
 */
ModuleExport size_t RegisterIPLImage(void)
{
  MagickInfo
    *entry;
  
  entry=SetMagickInfo("IPL");
  entry->decoder=(DecodeImageHandler *) ReadIPLImage;
  entry->encoder=(EncodeImageHandler *) WriteIPLImage;
  entry->magick=(IsImageFormatHandler *) IsIPL;
  entry->adjoin=MagickTrue;
  entry->description=ConstantString("IPL Image Sequence");
  entry->module=ConstantString("IPL");
  entry->endian_support=MagickTrue;
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #15
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r X I m a g e                                               %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterXImage() adds attributes for the X image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterXImage method is:
%
%      unsigned long RegisterXImage(void)
%
*/
ModuleExport unsigned long RegisterXImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("X");
#if defined(MAGICKCORE_X11_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadXImage;
  entry->encoder=(EncodeImageHandler *) WriteXImage;
#endif
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("X Image");
  entry->module=ConstantString("X");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #16
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r W E B P I m a g e                                         %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterWEBPImage() adds attributes for the WebP image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterWEBPImage method is:
%
%      size_t RegisterWEBPImage(void)
%
*/
ModuleExport size_t RegisterWEBPImage(void)
{
    MagickInfo
    *entry;

    entry=SetMagickInfo("WEBP");
#if defined(MAGICKCORE_WEBP_DELEGATE)
    entry->decoder=(DecodeImageHandler *) ReadWEBPImage;
    entry->encoder=(EncodeImageHandler *) WriteWEBPImage;
#endif
    entry->description=ConstantString("WebP Image Format");
    entry->adjoin=MagickFalse;
    entry->module=ConstantString("WEBP");
    (void) RegisterMagickInfo(entry);
    return(MagickImageCoderSignature);
}
Beispiel #17
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r P C L I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterPCLImage() adds attributes for the PCL image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the i file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterPCLImage method is:
%
%      size_t RegisterPCLImage(void)
%
*/
ModuleExport size_t RegisterPCLImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("PCL");
  entry->decoder=(DecodeImageHandler *) ReadPCLImage;
  entry->encoder=(EncodeImageHandler *) WritePCLImage;
  entry->magick=(IsImageFormatHandler *) IsPCL;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->thread_support=EncoderThreadSupport;
  entry->description=ConstantString("Printer Control Language");
  entry->module=ConstantString("PCL");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #18
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r C L I P B O A R D I m a g e                               %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterCLIPBOARDImage() adds attributes for the clipboard "image format" to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterCLIPBOARDImage method is:
%
%      size_t RegisterCLIPBOARDImage(void)
%
*/
ModuleExport size_t RegisterCLIPBOARDImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("CLIPBOARD");
#if defined(MAGICKCORE_WINGDI32_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadCLIPBOARDImage;
  entry->encoder=(EncodeImageHandler *) WriteCLIPBOARDImage;
#endif
  entry->adjoin=MagickFalse;
  entry->format_type=ImplicitFormatType;
  entry->description=ConstantString("The system clipboard");
  entry->module=ConstantString("CLIPBOARD");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #19
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r E X R I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterEXRImage() adds properties for the EXR image format
%  to the list of supported formats.  The properties include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterEXRImage method is:
%
%      size_t RegisterEXRImage(void)
%
*/
ModuleExport size_t RegisterEXRImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("EXR");
#if defined(MAGICKCORE_OPENEXR_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadEXRImage;
  entry->encoder=(EncodeImageHandler *) WriteEXRImage;
#endif
  entry->magick=(IsImageFormatHandler *) IsEXR;
  entry->adjoin=MagickFalse;
  entry->description=ConstantString("High Dynamic-range (HDR)");
  entry->blob_support=MagickFalse;
  entry->module=ConstantString("EXR");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r D O T I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterDOTImage() adds attributes for the Display Postscript image
%  format to the list of supported formats.  The attributes include the image
%  format tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterDOTImage method is:
%
%      size_t RegisterDOTImage(void)
%
*/
ModuleExport size_t RegisterDOTImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("DOT");
#if defined(MAGICKCORE_GVC_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadDOTImage;
#endif
  entry->blob_support=MagickFalse;
  entry->description=ConstantString("Graphviz");
  entry->module=ConstantString("DOT");
  (void) RegisterMagickInfo(entry);
#if defined(MAGICKCORE_GVC_DELEGATE)
  graphic_context=gvContext();
#endif
  return(MagickImageCoderSignature);
}
Beispiel #21
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r T I L E I m a g e                                         %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  Method RegisterTILEImage adds attributes for the TILE image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterTILEImage method is:
%
%      RegisterTILEImage(void)
%
*/
ModuleExport void RegisterTILEImage(void)
{
  MagickInfo
    *entry;

  static const char
    *TILENote=
    {
      "Use the syntax \"-size WIDTHxHEIGHT TILE:imagename\" to tile the\n"
      "specified tile image over a canvas image of size WIDTHxHEIGHT."
    };

  entry=SetMagickInfo("TILE");
  entry->decoder=(DecoderHandler) ReadTILEImage;
  entry->raw=True;
  entry->description="Tile image with a texture";
  entry->note=TILENote;
  entry->module="TILE";
  entry->coder_class=PrimaryCoderClass;
  entry->extension_treatment=IgnoreExtensionTreatment;
  (void) RegisterMagickInfo(entry);
}
Beispiel #22
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r C A P T I O N I m a g e                                   %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterCAPTIONImage() adds attributes for the CAPTION image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterCAPTIONImage method is:
%
%      size_t RegisterCAPTIONImage(void)
%
*/
ModuleExport size_t RegisterCAPTIONImage(void)
{
  char
    version[MaxTextExtent];

  MagickInfo
    *entry;

  *version='\0';
#if defined(PANGO_VERSION_STRING)
  (void) FormatLocaleString(version,MaxTextExtent,"(Pangoft2 %s)",
    PANGO_VERSION_STRING);
#endif
  entry=SetMagickInfo("CAPTION");
  entry->decoder=(DecodeImageHandler *) ReadCAPTIONImage;
  entry->description=ConstantString("Caption");
  if (*version != '\0')
    entry->version=ConstantString(version);
  entry->adjoin=MagickFalse;
  entry->module=ConstantString("CAPTION");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #23
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r D N G I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterDNGImage() adds attributes for the DNG image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterDNGImage method is:
%
%      unsigned long RegisterDNGImage(void)
%
*/
ModuleExport unsigned long RegisterDNGImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("ARW");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Sony Alpha Raw Image Format");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("DNG");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Digital Negative");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("CR2");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Canon Digital Camera Raw Image Format");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("CRW");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Canon Digital Camera Raw Image Format");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("DCR");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Kodak Digital Camera Raw Image File");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("ERF");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Epson RAW Format");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("KDC");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Kodak Digital Camera Raw Image Format");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("K25");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Kodak Digital Camera Raw Image Format");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("MRW");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Sony (Minolta) Raw Image File");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("NEF");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Nikon Digital SLR Camera Raw Image File");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("ORF");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Olympus Digital Camera Raw Image File");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("PEF");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Pentax Electronic File");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("RAF");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Fuji CCD-RAW Graphic File");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("SRF");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Sony Raw Format");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("SR2");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Sony Raw Format 2");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("X3F");
  entry->decoder=(DecodeImageHandler *) ReadDNGImage;
  entry->blob_support=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Sigma Camera RAW Picture File");
  entry->module=ConstantString("DNG");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #24
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r J P 2 I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  Method RegisterJP2Image adds attributes for the JP2 image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterJP2Image method is:
%
%      RegisterJP2Image(void)
%
*/
ModuleExport void RegisterJP2Image(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("J2C");
  entry->description="JPEG-2000 Code Stream Syntax";
  entry->module="JP2";
  entry->magick=(MagickHandler) IsJPC;
  entry->adjoin=False;
  entry->seekable_stream=True;
  entry->thread_support=False;
#if defined(HasJP2)
  entry->decoder=(DecoderHandler) ReadJP2Image;
  entry->encoder=(EncoderHandler) WriteJP2Image;
#endif
  entry->coder_class=StableCoderClass;
  (void) RegisterMagickInfo(entry);

  entry=SetMagickInfo("JP2");
  entry->description="JPEG-2000 JP2 File Format Syntax";
  entry->module="JP2";
  entry->magick=(MagickHandler) IsJP2;
  entry->adjoin=False;
  entry->seekable_stream=True;
  entry->thread_support=False;
#if defined(HasJP2)
  entry->decoder=(DecoderHandler) ReadJP2Image;
  entry->encoder=(EncoderHandler) WriteJP2Image;
#endif
  entry->coder_class=StableCoderClass;
  (void) RegisterMagickInfo(entry);

  entry=SetMagickInfo("JPC");
  entry->description="JPEG-2000 Code Stream Syntax";
  entry->module="JP2";
  entry->magick=(MagickHandler) IsJPC;
  entry->adjoin=False;
  entry->seekable_stream=True;
  entry->thread_support=False;
#if defined(HasJP2)
  entry->decoder=(DecoderHandler) ReadJP2Image;
  entry->encoder=(EncoderHandler) WriteJP2Image;
#endif
  entry->coder_class=StableCoderClass;
  (void) RegisterMagickInfo(entry);

  entry=SetMagickInfo("PGX");
  entry->description="JPEG-2000 VM Format";
  entry->module="JP2";
  entry->magick=(MagickHandler) IsJPC;
  entry->adjoin=False;
  entry->seekable_stream=True;
  entry->thread_support=False;
#if defined(HasJP2)
  /* Don't set an encoder since PGX is not a standard format */
  entry->decoder=(DecoderHandler) ReadJP2Image;
#endif
  entry->coder_class=StableCoderClass;
  (void) RegisterMagickInfo(entry);

  /*
    Initialize Jasper
  */
#if defined(HasJP2)
  jas_init();
#endif
}
Beispiel #25
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   G e t M a g i c k L i s t                                                 %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  Method GetMagickInfo returns a pointer MagickInfo structure that matches
%  the specified tag.  If tag is NULL, the head of the image format list is
%  returned.
%
%  The format of the GetMagickInfo method is:
%
%      MagickInfo *GetMagickInfo(const char *tag)
%
%  A description of each parameter follows:
%
%    o magick_info: Method GetMagickInfo returns a pointer MagickInfo
%      structure that matches the specified tag.
%
%    o tag: a character string that represents the image format we are
%      looking for.
%
%
*/
Export MagickInfo *GetMagickInfo(const char *tag)
{
  register MagickInfo
    *p;

  if (magick_info == (MagickInfo *) NULL)
    {
      MagickInfo
        *entry;
/*
      entry=SetMagickInfo("8BIM");
      entry->decoder=Read8BIMImage;
      entry->encoder=Write8BIMImage;
      entry->magick=Is8BIM;
      entry->adjoin=False;
      entry->description=AllocateString("Photoshop resource format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("AVS");
      entry->decoder=ReadAVSImage;
      entry->encoder=WriteAVSImage;
      entry->description=AllocateString("AVS X image");
      RegisterMagickInfo(entry);
#if defined(HasJBIG)
      entry=SetMagickInfo("BIE");
      entry->decoder=ReadJBIGImage;
      entry->encoder=WriteJBIGImage;
      entry->adjoin=False;
      entry->description=
        AllocateString("Joint Bi-level Image experts Group interchange format");
      RegisterMagickInfo(entry);
#endif
*/
      entry=SetMagickInfo("BMP");
      entry->decoder=ReadBMPImage;
      entry->encoder=WriteBMPImage;
      entry->magick=IsBMP;
      entry->description=AllocateString("Microsoft Windows bitmap image");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("BMP24");
      entry->decoder=ReadBMPImage;
      entry->encoder=WriteBMPImage;
      entry->description=
        AllocateString("Microsoft Windows 24-bit bitmap image");
      RegisterMagickInfo(entry);
/*
      entry=SetMagickInfo("CMYK");
      entry->decoder=ReadCMYKImage;
      entry->encoder=WriteCMYKImage;
      entry->adjoin=False;
      entry->raw=True;
      entry->description=
        AllocateString("Raw cyan, magenta, yellow, and black bytes");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("DCM");
      entry->decoder=ReadDCMImage;
      entry->magick=IsDCM;
      entry->adjoin=False;
      entry->description=
        AllocateString("Digital Imaging and Communications in Medicine image");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("DCX");
      entry->decoder=ReadPCXImage;
      entry->encoder=WritePCXImage;
      entry->magick=IsDCX;
      entry->description=
        AllocateString("ZSoft IBM PC multi-page Paintbrush");
      RegisterMagickInfo(entry);
*/
      entry=SetMagickInfo("DIB");
      entry->decoder=ReadBMPImage;
      entry->encoder=WriteBMPImage;
      entry->description=
        AllocateString("Microsoft Windows bitmap image");
      RegisterMagickInfo(entry);
/*
      entry=SetMagickInfo("EPDF");
      entry->decoder=ReadPDFImage;
      entry->encoder=WritePDFImage;
      entry->adjoin=False;
      entry->description=
        AllocateString("Encapsulated Portable Document Format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("EPI");
      entry->decoder=ReadPSImage;
      entry->adjoin=False;
      entry->description=
        AllocateString("Adobe Encapsulated PostScript Interchange format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("EPS");
      entry->decoder=ReadPSImage;
      entry->encoder=WritePSImage;
      entry->adjoin=False;
      entry->description=AllocateString("Adobe Encapsulated PostScript");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("EPS2");
      entry->decoder=ReadPSImage;
      entry->encoder=WritePS2Image;
      entry->adjoin=False;
      entry->description=
        AllocateString("Adobe Level II Encapsulated PostScript");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("EPSF");
      entry->decoder=ReadPSImage;
      entry->encoder=WritePSImage;
      entry->adjoin=False;
      entry->description=AllocateString("Adobe Encapsulated PostScript");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("EPSI");
      entry->decoder=ReadPSImage;
      entry->encoder=WritePSImage;
      entry->adjoin=False;
      entry->description=
        AllocateString("Adobe Encapsulated PostScript Interchange format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("EPT");
      entry->decoder=ReadPSImage;
      entry->encoder=WriteEPTImage;
      entry->magick=IsEPT;
      entry->adjoin=False;
      entry->description=
        AllocateString("Adobe Encapsulated PostScript with TIFF preview");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("FAX");
      entry->decoder=ReadFAXImage;
      entry->encoder=WriteFAXImage;
      entry->magick=IsFAX;
      entry->description=AllocateString("Group 3 FAX");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("FITS");
      entry->decoder=ReadFITSImage;
      entry->encoder=WriteFITSImage;
      entry->magick=IsFITS;
      entry->adjoin=False;
      entry->description=
        AllocateString("Flexible Image Transport System");
      RegisterMagickInfo(entry);
#if defined(HasFPX)
      entry=SetMagickInfo("FPX");
      entry->decoder=ReadFPXImage;
      entry->encoder=WriteFPXImage;
      entry->adjoin=False;
      entry->description=AllocateString("FlashPix Format");
      RegisterMagickInfo(entry);
#endif
      entry=SetMagickInfo("G3");
      entry->decoder=ReadFAXImage;
      entry->adjoin=False;
      entry->description=AllocateString("Group 3 FAX");
      RegisterMagickInfo(entry);
*/
      entry=SetMagickInfo("GIF");
      entry->decoder=ReadGIFImage;
      entry->encoder=WriteGIFImage;
      entry->magick=IsGIF;
      entry->description=
        AllocateString("CompuServe graphics interchange format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("GIF87");
      entry->decoder=ReadGIFImage;
      entry->encoder=WriteGIFImage;
      entry->adjoin=False;
      entry->description=
        AllocateString("CompuServe graphics interchange format (version 87a)");
      RegisterMagickInfo(entry);
/*
      entry=SetMagickInfo("GRADATION");
      entry->decoder=ReadGRADATIONImage;
      entry->adjoin=False;
      entry->description=
        AllocateString("Gradual passing from one shade to another");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("GRANITE");
      entry->decoder=ReadLOGOImage;
      entry->encoder=WriteLOGOImage;
      entry->adjoin=False;
      entry->description=AllocateString("Granite texture");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("GRAY");
      entry->decoder=ReadGRAYImage;
      entry->encoder=WriteGRAYImage;
      entry->raw=True;
      entry->description=AllocateString("Raw gray bytes");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("H");
      entry->decoder=ReadLOGOImage;
      entry->encoder=WriteLOGOImage;
      entry->adjoin=False;
      entry->description=AllocateString("Internal format");
      RegisterMagickInfo(entry);
#if defined(HasHDF)
      entry=SetMagickInfo("HDF");
      entry->decoder=ReadHDFImage;
      entry->encoder=WriteHDFImage;
      entry->magick=IsHDF;
      entry->blob_support=False;
      entry->description=AllocateString("Hierarchical Data Format");
      RegisterMagickInfo(entry);
#endif
      entry=SetMagickInfo("HISTOGRAM");
      entry->decoder=ReadHISTOGRAMImage;
      entry->encoder=WriteHISTOGRAMImage;
      entry->adjoin=False;
      entry->description=AllocateString("Histogram of the image");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("HTM");
      entry->encoder=WriteHTMLImage;
      entry->magick=IsHTML;
      entry->adjoin=False;
      entry->description=
        AllocateString("Hypertext Markup Language and a client-side image map");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("HTML");
      entry->encoder=WriteHTMLImage;
      entry->adjoin=False;
      entry->description=
        AllocateString("Hypertext Markup Language and a client-side image map");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("ICB");
      entry->decoder=ReadTGAImage;
      entry->encoder=WriteTGAImage;
      entry->description=AllocateString("Truevision Targa image");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("ICC");
      entry->decoder=ReadICCImage;
      entry->encoder=WriteICCImage;
      entry->adjoin=False;
      entry->description=AllocateString("ICC Color Profile");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("ICO");
      entry->decoder=ReadICONImage;
      entry->adjoin=False;
      entry->description=AllocateString("Microsoft icon");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("IMPLICIT");
      entry->description=AllocateString("Internal format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("IPTC");
      entry->decoder=ReadIPTCImage;
      entry->encoder=WriteIPTCImage;
      entry->magick=IsIPTC;
      entry->adjoin=False;
      entry->description=AllocateString("IPTC Newsphoto");
      RegisterMagickInfo(entry);
#if defined(HasJBIG)
      entry=SetMagickInfo("JBG");
      entry->decoder=ReadJBIGImage;
      entry->encoder=WriteJBIGImage;
      entry->description=
        AllocateString("Joint Bi-level Image experts Group interchange format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("JBIG");
      entry->decoder=ReadJBIGImage;
      entry->encoder=WriteJBIGImage;
      entry->description=
        AllocateString("Joint Bi-level Image experts Group interchange format");
      RegisterMagickInfo(entry);
#endif
#if defined(HasJPEG)
      entry=SetMagickInfo("JPG");
      entry->decoder=ReadJPEGImage;
      entry->encoder=WriteJPEGImage;
      entry->adjoin=False;
      entry->description=
        AllocateString("Joint Photographic Experts Group JFIF format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("JPEG");
      entry->decoder=ReadJPEGImage;
      entry->encoder=WriteJPEGImage;
      entry->magick=IsJPEG;
      entry->adjoin=False;
      entry->description=
        AllocateString("Joint Photographic Experts Group JFIF format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("JPEG24");
      entry->decoder=ReadJPEGImage;
      entry->encoder=WriteJPEGImage;
      entry->adjoin=False;
      entry->description=
        AllocateString("Joint Photographic Experts Group JFIF format");
      RegisterMagickInfo(entry);
#endif
      entry=SetMagickInfo("LABEL");
      entry->decoder=ReadLABELImage;
      entry->adjoin=False;
      entry->description=AllocateString("Text image format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("LOGO");
      entry->decoder=ReadLOGOImage;
      entry->encoder=WriteLOGOImage;
      entry->adjoin=False;
      entry->description=AllocateString("ImageMagick Logo");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("MAP");
      entry->decoder=ReadMAPImage;
      entry->encoder=WriteMAPImage;
      entry->adjoin=False;
      entry->raw=True;
      entry->description=
        AllocateString("Colormap intensities and indices");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("MATTE");
      entry->decoder=ReadMIFFImage;
      entry->encoder=WriteMATTEImage;
      entry->raw=True;
      entry->description=AllocateString("Matte format");
      RegisterMagickInfo(entry);
*/
      entry=SetMagickInfo("MIFF");
      entry->decoder=ReadMIFFImage;
      entry->encoder=WriteMIFFImage;
      entry->magick=IsMIFF;
      entry->description=AllocateString("Magick image format");
      RegisterMagickInfo(entry);
/*
#if defined(HasPNG)
      entry=SetMagickInfo("MNG");
      entry->decoder=ReadPNGImage;
      entry->encoder=WritePNGImage;
      entry->magick=IsMNG;
      entry->description=AllocateString("Multiple-image Network Graphics");
      RegisterMagickInfo(entry);
#endif
      entry=SetMagickInfo("MONO");
      entry->decoder=ReadMONOImage;
      entry->encoder=WriteMONOImage;
      entry->adjoin=False;
      entry->description=
        AllocateString("Bi-level bitmap in least-significant-byte first order");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("MTV");
      entry->decoder=ReadMTVImage;
      entry->encoder=WriteMTVImage;
      entry->description=AllocateString("MTV Raytracing image format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("NETSCAPE");
      entry->decoder=ReadLOGOImage;
      entry->encoder=WriteLOGOImage;
      entry->adjoin=False;
      entry->description=AllocateString("Netscape 216 color cube");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("NULL");
      entry->decoder=ReadNULLImage;
      entry->adjoin=False;
      entry->description=AllocateString("NULL image");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("P7");
      entry->decoder=ReadPNMImage;
      entry->encoder=WritePNMImage;
      entry->description=AllocateString("Xv thumbnail format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PBM");
      entry->decoder=ReadPNMImage;
      entry->encoder=WritePNMImage;
      entry->description=
        AllocateString("Portable bitmap format (black and white)");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PCD");
      entry->decoder=ReadPCDImage;
      entry->encoder=WritePCDImage;
      entry->magick=IsPCD;
      entry->adjoin=False;
      entry->description=AllocateString("Photo CD");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PCDS");
      entry->decoder=ReadPCDImage;
      entry->encoder=WritePCDImage;
      entry->adjoin=False;
      entry->description=AllocateString("Photo CD");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PCL");
      entry->decoder=ReadPCLImage;
      entry->encoder=WritePCLImage;
      entry->magick=IsPCL;
      entry->adjoin=False;
      entry->description=AllocateString("Page Control Language");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PCT");
      entry->encoder=WritePICTImage;
      entry->adjoin=False;
      entry->description=AllocateString("Apple Macintosh QuickDraw/PICT");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PCX");
      entry->decoder=ReadPCXImage;
      entry->encoder=WritePCXImage;
      entry->magick=IsPCX;
      entry->adjoin=False;
      entry->description=AllocateString("ZSoft IBM PC Paintbrush");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PDF");
      entry->decoder=ReadPDFImage;
      entry->encoder=WritePDFImage;
      entry->magick=IsPDF;
      entry->description=AllocateString("Portable Document Format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PIC");
      entry->decoder=ReadPICTImage;
      entry->encoder=WritePICTImage;
      entry->adjoin=False;
      entry->description=AllocateString("Apple Macintosh QuickDraw/PICT");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PICT");
      entry->decoder=ReadPICTImage;
      entry->encoder=WritePICTImage;
      entry->adjoin=False;
      entry->description=AllocateString("Apple Macintosh QuickDraw/PICT");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PICT24");
      entry->decoder=ReadPICTImage;
      entry->encoder=WritePICTImage;
      entry->adjoin=False;
      entry->description=
        AllocateString("24-bit Apple Macintosh QuickDraw/PICT");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PIX");
      entry->decoder=ReadPIXImage;
      entry->description=
        AllocateString("Alias/Wavefront RLE image format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PLASMA");
      entry->decoder=ReadPLASMAImage;
      entry->adjoin=False;
      entry->description=AllocateString("Plasma fractal image");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PGM");
      entry->decoder=ReadPNMImage;
      entry->encoder=WritePNMImage;
      entry->description=
        AllocateString("Portable graymap format (gray scale)");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PM");
      entry->decoder=ReadXPMImage;
      entry->encoder=WriteXPMImage;
      entry->adjoin=False;
      entry->description=AllocateString("X Windows system pixmap (color)");
      RegisterMagickInfo(entry);
#if defined(HasPNG)
      entry=SetMagickInfo("PNG");
      entry->decoder=ReadPNGImage;
      entry->encoder=WritePNGImage;
      entry->magick=IsPNG;
      entry->adjoin=False;
      entry->description=AllocateString("Portable Network Graphics");
      RegisterMagickInfo(entry);
#endif
      entry=SetMagickInfo("PNM");
      entry->decoder=ReadPNMImage;
      entry->encoder=WritePNMImage;
      entry->magick=IsPNM;
      entry->description=AllocateString("Portable anymap");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PPM");
      entry->decoder=ReadPNMImage;
      entry->encoder=WritePNMImage;
      entry->description=AllocateString("Portable pixmap format (color)");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PREVIEW");
      entry->encoder=WritePREVIEWImage;
      entry->adjoin=False;
      entry->description=
        AllocateString("Show a preview an image enhancement, effect, or f/x");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PS");
      entry->decoder=ReadPSImage;
      entry->encoder=WritePSImage;
      entry->magick=IsPS;
      entry->description=AllocateString("Adobe PostScript");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PS2");
      entry->encoder=WritePS2Image;
      entry->description=AllocateString("Adobe Level II PostScript");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PS3");
      entry->encoder=WritePS3Image;
      entry->description=AllocateString("Adobe Level III PostScript");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("PSD");
      entry->decoder=ReadPSDImage;
      entry->encoder=WritePSDImage;
      entry->magick=IsPSD;
      entry->adjoin=False;
      entry->description=AllocateString("Adobe Photoshop bitmap");
      RegisterMagickInfo(entry);
#if defined(HasTIFF)
      entry=SetMagickInfo("PTIF");
      entry->decoder=ReadTIFFImage;
      entry->encoder=WriteTIFFImage;
      entry->blob_support=False;
      entry->description=AllocateString("Pyramid encoded TIFF");
      RegisterMagickInfo(entry);
#endif
      entry=SetMagickInfo("PWP");
      entry->decoder=ReadPWPImage;
      entry->magick=IsPWP;
      entry->description=AllocateString("Seattle Film Works");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("RAS");
      entry->decoder=ReadSUNImage;
      entry->encoder=WriteSUNImage;
      entry->magick=IsSUN;
      entry->description=AllocateString("SUN Rasterfile");
      RegisterMagickInfo(entry);
*/
      entry=SetMagickInfo("RGB");
      entry->decoder=ReadRGBImage;
      entry->encoder=WriteRGBImage;
      entry->raw=True;
      entry->description=AllocateString("Raw red, green, and blue bytes");
      RegisterMagickInfo(entry);
/*
      entry=SetMagickInfo("RGBA");
      entry->decoder=ReadRGBImage;
      entry->encoder=WriteRGBImage;
      entry->raw=True;
      entry->description=
        AllocateString("Raw red, green, blue, and matte bytes");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("RLA");
      entry->decoder=ReadRLAImage;
      entry->adjoin=False;
      entry->description=AllocateString("Alias/Wavefront image");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("RLE");
      entry->decoder=ReadRLEImage;
      entry->magick=IsRLE;
      entry->adjoin=False;
      entry->description=AllocateString("Utah Run length encoded image");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("SCT");
      entry->decoder=ReadSCTImage;
      entry->magick=IsSCT;
      entry->adjoin=False;
      entry->description=AllocateString("Scitex HandShake");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("SFW");
      entry->decoder=ReadSFWImage;
      entry->magick=IsSFW;
      entry->adjoin=False;
      entry->description=AllocateString("Seattle Film Works");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("SGI");
      entry->decoder=ReadSGIImage;
      entry->encoder=WriteSGIImage;
      entry->magick=IsSGI;
      entry->description=AllocateString("Irix RGB image");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("SHTML");
      entry->encoder=WriteHTMLImage;
      entry->adjoin=False;
      entry->description=
        AllocateString("Hypertext Markup Language and a client-side image map");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("STEGANO");
      entry->decoder=ReadSTEGANOImage;
      entry->description=AllocateString("Steganographic image");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("SUN");
      entry->decoder=ReadSUNImage;
      entry->encoder=WriteSUNImage;
      entry->description=AllocateString("SUN Rasterfile");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("TEXT");
      entry->decoder=ReadTXTImage;
      entry->encoder=WriteTXTImage;
      entry->raw=True;
      entry->description=AllocateString("Raw text");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("TGA");
      entry->decoder=ReadTGAImage;
      entry->encoder=WriteTGAImage;
      entry->description=AllocateString("Truevision Targa image");
      RegisterMagickInfo(entry);
#if defined(HasTIFF)
      entry=SetMagickInfo("TIF");
      entry->decoder=ReadTIFFImage;
      entry->encoder=WriteTIFFImage;
      entry->blob_support=False;
      entry->description=AllocateString("Tagged Image File Format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("TIFF");
      entry->decoder=ReadTIFFImage;
      entry->encoder=WriteTIFFImage;
      entry->magick=IsTIFF;
      entry->blob_support=False;
      entry->description=AllocateString("Tagged Image File Format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("TIFF24");
      entry->decoder=ReadTIFFImage;
      entry->encoder=WriteTIFFImage;
      entry->blob_support=False;
      entry->description=AllocateString("24-bit Tagged Image File Format");
      RegisterMagickInfo(entry);
#endif
      entry=SetMagickInfo("TILE");
      entry->decoder=ReadTILEImage;
      entry->raw=True;
      entry->description=AllocateString("Tile image with a texture");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("TIM");
      entry->decoder=ReadTIMImage;
      entry->description=AllocateString("PSX TIM");
      RegisterMagickInfo(entry);
#if defined(HasTTF)
      entry=SetMagickInfo("TTF");
      entry->decoder=ReadTTFImage;
      entry->adjoin=False;
      entry->description=AllocateString("TrueType font");
      RegisterMagickInfo(entry);
#endif
      entry=SetMagickInfo("TXT");
      entry->decoder=ReadTXTImage;
      entry->encoder=WriteTXTImage;
      entry->description=AllocateString("Raw text");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("UIL");
      entry->decoder=ReadUILImage;
      entry->encoder=WriteUILImage;
      entry->adjoin=False;
      entry->description=AllocateString("X-Motif UIL table");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("UYVY");
      entry->decoder=ReadUYVYImage;
      entry->encoder=WriteUYVYImage;
      entry->adjoin=False;
      entry->raw=True;
      entry->description=AllocateString("16bit/pixel interleaved YUV");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("VDA");
      entry->decoder=ReadTGAImage;
      entry->encoder=WriteTGAImage;
      entry->description=AllocateString("Truevision Targa image");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("VICAR");
      entry->decoder=ReadVICARImage;
      entry->encoder=WriteVICARImage;
      entry->magick=IsVICAR;
      entry->adjoin=False;
      entry->description=AllocateString("VICAR rasterfile format");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("VID");
      entry->decoder=ReadVIDImage;
      entry->encoder=WriteMIFFImage;
      entry->description=AllocateString("Visual Image Directory");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("VIFF");
      entry->decoder=ReadVIFFImage;
      entry->encoder=WriteVIFFImage;
      entry->magick=IsVIFF;
      entry->description=AllocateString("Khoros Visualization image");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("VST");
      entry->decoder=ReadTGAImage;
      entry->encoder=WriteTGAImage;
      entry->description=AllocateString("Truevision Targa image");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("WBMP");
      entry->decoder=ReadWBMPImage;
      entry->encoder=WriteWBMPImage;
      entry->adjoin=False;
      entry->description=AllocateString("Wireless Bitmap (level 0) image");
      RegisterMagickInfo(entry);
#if defined(HasX11)
      entry=SetMagickInfo("X");
      entry->decoder=ReadXImage;
      entry->encoder=WriteXImage;
      entry->adjoin=False;
      entry->description=AllocateString("X Image");
      RegisterMagickInfo(entry);
#endif
      entry=SetMagickInfo("XBM");
      entry->decoder=ReadXBMImage;
      entry->encoder=WriteXBMImage;
      entry->magick=IsXBM;
      entry->adjoin=False;
      entry->description=
        AllocateString("X Windows system bitmap (black and white)");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("XC");
      entry->decoder=ReadXCImage;
      entry->adjoin=False;
      entry->raw=True;
      entry->description=
        AllocateString("Constant image of X server color");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("XPM");
      entry->decoder=ReadXPMImage;
      entry->encoder=WriteXPMImage;
      entry->magick=IsXPM;
      entry->adjoin=False;
      entry->description=AllocateString("X Windows system pixmap (color)");
      RegisterMagickInfo(entry);
      entry=SetMagickInfo("XV");
      entry->decoder=ReadVIFFImage;
      entry->encoder=WriteVIFFImage;
      entry->description=AllocateString("Khoros Visualization image");
      RegisterMagickInfo(entry);
#if defined(HasX11)
      entry=SetMagickInfo("XWD");
      entry->decoder=ReadXWDImage;
      entry->encoder=WriteXWDImage;
      entry->magick=IsXWD;
      entry->adjoin=False;
      entry->description=
        AllocateString("X Windows system window dump (color)");
      RegisterMagickInfo(entry);
#endif
      entry=SetMagickInfo("YUV");
      entry->decoder=ReadYUVImage;
      entry->encoder=WriteYUVImage;
      entry->adjoin=False;
      entry->raw=True;
      entry->description=AllocateString("CCIR 601 4:1:1");
      RegisterMagickInfo(entry);
*/
    }
  if (tag == (char *) NULL)
    return(magick_info);
  for (p=magick_info; p != (MagickInfo *) NULL; p=p->next)
    if (Latin1Compare(p->tag,tag) == 0)
      return(p);
  return((MagickInfo *) NULL);
}
Beispiel #26
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r J P 2 I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterJP2Image() adds attributes for the JP2 image format to the list of
%  supported formats.  The attributes include the image format tag, a method
%  method to read and/or write the format, whether the format supports the
%  saving of more than one frame to the same file or blob, whether the format
%  supports native in-memory I/O, and a brief description of the format.
%
%  The format of the RegisterJP2Image method is:
%
%      size_t RegisterJP2Image(void)
%
*/
ModuleExport size_t RegisterJP2Image(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("JP2");
  entry->description=ConstantString("JPEG-2000 File Format Syntax");
  entry->module=ConstantString("JP2");
  entry->magick=(IsImageFormatHandler *) IsJP2;
  entry->adjoin=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->thread_support=NoThreadSupport;
#if defined(MAGICKCORE_JP2_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadJP2Image;
  entry->encoder=(EncodeImageHandler *) WriteJP2Image;
#endif
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("JPC");
  entry->description=ConstantString("JPEG-2000 Code Stream Syntax");
  entry->module=ConstantString("JP2");
  entry->magick=(IsImageFormatHandler *) IsJPC;
  entry->adjoin=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->thread_support=NoThreadSupport;
#if defined(MAGICKCORE_JP2_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadJP2Image;
  entry->encoder=(EncodeImageHandler *) WriteJP2Image;
#endif
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("J2C");
  entry->description=ConstantString("JPEG-2000 Code Stream Syntax");
  entry->module=ConstantString("JP2");
  entry->magick=(IsImageFormatHandler *) IsJPC;
  entry->adjoin=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->thread_support=NoThreadSupport;
#if defined(MAGICKCORE_JP2_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadJP2Image;
  entry->encoder=(EncodeImageHandler *) WriteJP2Image;
#endif
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("J2K");
  entry->description=ConstantString("JPEG-2000 Code Stream Syntax");
  entry->module=ConstantString("JP2");
  entry->magick=(IsImageFormatHandler *) IsJPC;
  entry->adjoin=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->thread_support=NoThreadSupport;
#if defined(MAGICKCORE_JP2_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadJP2Image;
  entry->encoder=(EncodeImageHandler *) WriteJP2Image;
#endif
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("JPX");
  entry->description=ConstantString("JPEG-2000 File Format Syntax");
  entry->module=ConstantString("JP2");
  entry->magick=(IsImageFormatHandler *) IsJPC;
  entry->adjoin=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->thread_support=NoThreadSupport;
#if defined(MAGICKCORE_JP2_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadJP2Image;
  entry->encoder=(EncodeImageHandler *) WriteJP2Image;
#endif
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("PGX");
  entry->description=ConstantString("JPEG-2000 VM Format");
  entry->module=ConstantString("JP2");
  entry->magick=(IsImageFormatHandler *) IsJPC;
  entry->adjoin=MagickFalse;
  entry->seekable_stream=MagickTrue;
  entry->thread_support=NoThreadSupport;
#if defined(MAGICKCORE_JP2_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadJP2Image;
#endif
  (void) RegisterMagickInfo(entry);
#if defined(MAGICKCORE_JP2_DELEGATE)
  if (instantiate_jp2 == MagickFalse)
    {
      jas_init();
      instantiate_jp2=MagickTrue;
    }
#endif
  return(MagickImageCoderSignature);
}
Beispiel #27
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r R G B I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterRGBImage() adds attributes for the RGB or RGBA image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterRGBImage method is:
%
%      unsigned long RegisterRGBImage(void)
%
*/
ModuleExport unsigned long RegisterRGBImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("RGB");
  entry->decoder=(DecodeImageHandler *) ReadRGBImage;
  entry->encoder=(EncodeImageHandler *) WriteRGBImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Raw red, green, and blue samples");
  entry->module=ConstantString("RGB");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("RBG");
  entry->decoder=(DecodeImageHandler *) ReadRGBImage;
  entry->encoder=(EncodeImageHandler *) WriteRGBImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Raw red, blue, and green samples");
  entry->module=ConstantString("RGB");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("GRB");
  entry->decoder=(DecodeImageHandler *) ReadRGBImage;
  entry->encoder=(EncodeImageHandler *) WriteRGBImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Raw green, red, and blue samples");
  entry->module=ConstantString("RGB");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("GBR");
  entry->decoder=(DecodeImageHandler *) ReadRGBImage;
  entry->encoder=(EncodeImageHandler *) WriteRGBImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Raw green, blue, and red samples");
  entry->module=ConstantString("RGB");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("BRG");
  entry->decoder=(DecodeImageHandler *) ReadRGBImage;
  entry->encoder=(EncodeImageHandler *) WriteRGBImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Raw blue, red, and green samples");
  entry->module=ConstantString("RGB");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("BGR");
  entry->decoder=(DecodeImageHandler *) ReadRGBImage;
  entry->encoder=(EncodeImageHandler *) WriteRGBImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Raw blue, green, and red samples");
  entry->module=ConstantString("RGB");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("RGBA");
  entry->decoder=(DecodeImageHandler *) ReadRGBImage;
  entry->encoder=(EncodeImageHandler *) WriteRGBImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Raw red, green, blue, and alpha samples");
  entry->module=ConstantString("RGB");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("RGBO");
  entry->decoder=(DecodeImageHandler *) ReadRGBImage;
  entry->encoder=(EncodeImageHandler *) WriteRGBImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ExplicitFormatType;
  entry->description=ConstantString("Raw red, green, blue, and opacity "
    "samples");
  entry->module=ConstantString("RGB");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #28
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r R A W I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterRAWImage() adds attributes for the RAW image format to the list of
%  supported formats.  The attributes include the image format tag, a method to
%  read and/or write the format, whether the format supports the saving of
%  more than one frame to the same file or blob, whether the format supports
%  native in-memory I/O, and a brief description of the format.
%
%  The format of the RegisterRAWImage method is:
%
%      size_t RegisterRAWImage(void)
%
*/
ModuleExport size_t RegisterRAWImage(void)
{
  MagickInfo
    *entry;

  entry=SetMagickInfo("R");
  entry->decoder=(DecodeImageHandler *) ReadRAWImage;
  entry->encoder=(EncodeImageHandler *) WriteRAWImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ImplicitFormatType;
  entry->description=ConstantString("Raw red samples");
  entry->module=ConstantString("RAW");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("C");
  entry->decoder=(DecodeImageHandler *) ReadRAWImage;
  entry->encoder=(EncodeImageHandler *) WriteRAWImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ImplicitFormatType;
  entry->description=ConstantString("Raw cyan samples");
  entry->module=ConstantString("RAW");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("G");
  entry->decoder=(DecodeImageHandler *) ReadRAWImage;
  entry->encoder=(EncodeImageHandler *) WriteRAWImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ImplicitFormatType;
  entry->description=ConstantString("Raw green samples");
  entry->module=ConstantString("RAW");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("M");
  entry->decoder=(DecodeImageHandler *) ReadRAWImage;
  entry->encoder=(EncodeImageHandler *) WriteRAWImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ImplicitFormatType;
  entry->description=ConstantString("Raw magenta samples");
  entry->module=ConstantString("RAW");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("B");
  entry->decoder=(DecodeImageHandler *) ReadRAWImage;
  entry->encoder=(EncodeImageHandler *) WriteRAWImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ImplicitFormatType;
  entry->description=ConstantString("Raw blue samples");
  entry->module=ConstantString("RAW");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("Y");
  entry->decoder=(DecodeImageHandler *) ReadRAWImage;
  entry->encoder=(EncodeImageHandler *) WriteRAWImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ImplicitFormatType;
  entry->description=ConstantString("Raw yellow samples");
  entry->module=ConstantString("RAW");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("A");
  entry->decoder=(DecodeImageHandler *) ReadRAWImage;
  entry->encoder=(EncodeImageHandler *) WriteRAWImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ImplicitFormatType;
  entry->description=ConstantString("Raw alpha samples");
  entry->module=ConstantString("RAW");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("O");
  entry->decoder=(DecodeImageHandler *) ReadRAWImage;
  entry->encoder=(EncodeImageHandler *) WriteRAWImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ImplicitFormatType;
  entry->description=ConstantString("Raw opacity samples");
  entry->module=ConstantString("RAW");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("K");
  entry->decoder=(DecodeImageHandler *) ReadRAWImage;
  entry->encoder=(EncodeImageHandler *) WriteRAWImage;
  entry->raw=MagickTrue;
  entry->endian_support=MagickTrue;
  entry->format_type=ImplicitFormatType;
  entry->description=ConstantString("Raw black samples");
  entry->module=ConstantString("RAW");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #29
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r T T F I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterTTFImage() adds attributes for the TTF image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterTTFImage method is:
%
%      size_t RegisterTTFImage(void)
%
*/
ModuleExport size_t RegisterTTFImage(void)
{
  char
    version[MaxTextExtent];

  MagickInfo
    *entry;

  *version='\0';
#if defined(FREETYPE_MAJOR) && defined(FREETYPE_MINOR) && defined(FREETYPE_PATCH)
  (void) FormatLocaleString(version,MaxTextExtent,"Freetype %d.%d.%d",
    FREETYPE_MAJOR,FREETYPE_MINOR,FREETYPE_PATCH);
#endif
  entry=SetMagickInfo("DFONT");
#if defined(MAGICKCORE_FREETYPE_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadTTFImage;
#endif
  entry->magick=(IsImageFormatHandler *) IsTTF;
  entry->adjoin=MagickFalse;
  entry->description=ConstantString("Multi-face font package");
  if (*version != '\0')
    entry->version=ConstantString(version);
  entry->module=ConstantString("TTF");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("PFA");
#if defined(MAGICKCORE_FREETYPE_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadTTFImage;
#endif
  entry->magick=(IsImageFormatHandler *) IsPFA;
  entry->adjoin=MagickFalse;
  entry->description=ConstantString("Postscript Type 1 font (ASCII)");
  if (*version != '\0')
    entry->version=ConstantString(version);
  entry->module=ConstantString("TTF");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("PFB");
#if defined(MAGICKCORE_FREETYPE_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadTTFImage;
#endif
  entry->magick=(IsImageFormatHandler *) IsPFA;
  entry->adjoin=MagickFalse;
  entry->description=ConstantString("Postscript Type 1 font (binary)");
  if (*version != '\0')
    entry->version=ConstantString(version);
  entry->module=ConstantString("TTF");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("OTF");
#if defined(MAGICKCORE_FREETYPE_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadTTFImage;
#endif
  entry->magick=(IsImageFormatHandler *) IsTTF;
  entry->adjoin=MagickFalse;
  entry->description=ConstantString("Open Type font");
  if (*version != '\0')
    entry->version=ConstantString(version);
  entry->module=ConstantString("TTF");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("TTC");
#if defined(MAGICKCORE_FREETYPE_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadTTFImage;
#endif
  entry->magick=(IsImageFormatHandler *) IsTTF;
  entry->adjoin=MagickFalse;
  entry->description=ConstantString("TrueType font collection");
  if (*version != '\0')
    entry->version=ConstantString(version);
  entry->module=ConstantString("TTF");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("TTF");
#if defined(MAGICKCORE_FREETYPE_DELEGATE)
  entry->decoder=(DecodeImageHandler *) ReadTTFImage;
#endif
  entry->magick=(IsImageFormatHandler *) IsTTF;
  entry->adjoin=MagickFalse;
  entry->description=ConstantString("TrueType font");
  if (*version != '\0')
    entry->version=ConstantString(version);
  entry->module=ConstantString("TTF");
  (void) RegisterMagickInfo(entry);
  return(MagickImageCoderSignature);
}
Beispiel #30
0
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                             %
%                                                                             %
%                                                                             %
%   R e g i s t e r T T F I m a g e                                           %
%                                                                             %
%                                                                             %
%                                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  RegisterTTFImage() adds attributes for the TTF image format to
%  the list of supported formats.  The attributes include the image format
%  tag, a method to read and/or write the format, whether the format
%  supports the saving of more than one frame to the same file or blob,
%  whether the format supports native in-memory I/O, and a brief
%  description of the format.
%
%  The format of the RegisterTTFImage method is:
%
%      RegisterTTFImage(void)
%
*/
ModuleExport void RegisterTTFImage(void)
{
  char
    version[MaxTextExtent];

  MagickInfo
    *entry;

  *version='\0';
#if defined(FREETYPE_MAJOR) && defined(FREETYPE_MINOR) && defined(FREETYPE_PATCH)
  (void) FormatMagickString(version,MaxTextExtent,"Freetype %d.%d.%d",
    FREETYPE_MAJOR,FREETYPE_MINOR,FREETYPE_PATCH);
#endif
  entry=SetMagickInfo("PFA");
#if defined(HasTTF)
  entry->decoder=(DecoderHandler *) ReadTTFImage;
#endif
  entry->magick=(MagickHandler *) IsPFA;
  entry->adjoin=MagickFalse;
  entry->description=AcquireString("Postscript Type 1 font (ASCII)");
  if (*version != '\0')
    entry->version=AcquireString(version);
  entry->module=AcquireString("TTF");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("PFB");
#if defined(HasTTF)
  entry->decoder=(DecoderHandler *) ReadTTFImage;
#endif
  entry->magick=(MagickHandler *) IsPFA;
  entry->adjoin=MagickFalse;
  entry->description=AcquireString("Postscript Type 1 font (binary)");
  if (*version != '\0')
    entry->version=AcquireString(version);
  entry->module=AcquireString("TTF");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("OTF");
#if defined(HasTTF)
  entry->decoder=(DecoderHandler *) ReadTTFImage;
#endif
  entry->magick=(MagickHandler *) IsTTF;
  entry->adjoin=MagickFalse;
  entry->description=AcquireString("Open Type font");
  if (*version != '\0')
    entry->version=AcquireString(version);
  entry->module=AcquireString("TTF");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("TTC");
#if defined(HasTTF)
  entry->decoder=(DecoderHandler *) ReadTTFImage;
#endif
  entry->magick=(MagickHandler *) IsTTF;
  entry->adjoin=MagickFalse;
  entry->description=AcquireString("TrueType font collection");
  if (*version != '\0')
    entry->version=AcquireString(version);
  entry->module=AcquireString("TTF");
  (void) RegisterMagickInfo(entry);
  entry=SetMagickInfo("TTF");
#if defined(HasTTF)
  entry->decoder=(DecoderHandler *) ReadTTFImage;
#endif
  entry->magick=(MagickHandler *) IsTTF;
  entry->adjoin=MagickFalse;
  entry->description=AcquireString("TrueType font");
  if (*version != '\0')
    entry->version=AcquireString(version);
  entry->module=AcquireString("TTF");
  (void) RegisterMagickInfo(entry);
}