MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/studio.h"
#include "MagickCore/annotate.h"
#include "MagickCore/artifact.h"
#include "MagickCore/attribute.h"
#include "MagickCore/blob.h"
#include "MagickCore/cache.h"
#include "MagickCore/client.h"
#include "MagickCore/coder.h"
#include "MagickCore/color.h"
#include "MagickCore/configure.h"
#include "MagickCore/constitute.h"
#include "MagickCore/decorate.h"
#include "MagickCore/delegate.h"
#include "MagickCore/draw.h"
#include "MagickCore/effect.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/feature.h"
#include "MagickCore/gem.h"
#include "MagickCore/geometry.h"
#include "MagickCore/histogram.h"
#include "MagickCore/identify.h"
#include "MagickCore/image.h"
#include "MagickCore/image-private.h"
#include "MagickCore/list.h"
#include "MagickCore/locale_.h"
#include "MagickCore/log.h"
#include "MagickCore/magic.h"
#include "MagickCore/magick.h"
#include "MagickCore/memory_.h"
#include "MagickCore/module.h"
#include "MagickCore/monitor.h"
#include "MagickCore/montage.h"
#include "MagickCore/option.h"
#include "MagickCore/pixel-accessor.h"
#include "MagickCore/pixel-private.h"
#include "MagickCore/prepress.h"
#include "MagickCore/profile.h"
#include "MagickCore/property.h"
#include "MagickCore/quantize.h"
#include "MagickCore/quantum.h"
#include "MagickCore/random_.h"
#include "MagickCore/registry.h"
#include "MagickCore/resize.h"
#include "MagickCore/resource_.h"
#include "MagickCore/signature.h"
#include "MagickCore/statistic.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/timer.h"
#include "MagickCore/token.h"
#include "MagickCore/utility.h"
#include "MagickCore/utility-private.h"
#include "MagickCore/version.h"
Go to the source code of this file.
Macros | |
#define | PrintFeature(feature) |
#define | FeaturesFormat |
#define | StatisticsFormat |
Functions | |
static ChannelStatistics * | GetLocationStatistics (const Image *image, const StatisticType type, ExceptionInfo *exception) |
static ssize_t | PrintChannelFeatures (FILE *file, const PixelChannel channel, const char *name, const ChannelFeatures *channel_features) |
static ssize_t | PrintChannelLocations (FILE *file, const Image *image, const PixelChannel channel, const char *name, const StatisticType type, const size_t max_locations, const ChannelStatistics *channel_statistics) |
static ssize_t | PrintChannelMoments (FILE *file, const PixelChannel channel, const char *name, const double scale, const ChannelMoments *channel_moments) |
static ssize_t | PrintChannelPerceptualHash (Image *image, FILE *file, const ChannelPerceptualHash *channel_phash) |
static ssize_t | PrintChannelStatistics (FILE *file, const PixelChannel channel, const char *name, const double scale, const ChannelStatistics *channel_statistics) |
MagickExport MagickBooleanType | IdentifyImage (Image *image, FILE *file, const MagickBooleanType verbose, ExceptionInfo *exception) |
#define FeaturesFormat |
#define PrintFeature | ( | feature | ) |
#define StatisticsFormat |
|
static |
Definition at line 132 of file identify.c.
References AcquireQuantumMemory(), _Image::columns, _Image::filename, GetMagickModule, GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelReadMask(), GetVirtualPixels(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickMaximumValue, _ChannelStatistics::maxima, MaximumStatistic, MaxPixelChannels, _ChannelStatistics::minima, MinimumStatistic, QuantumRange, ResourceLimitFatalError, _Image::rows, _Image::signature, ThrowFatalException, TraceEvent, and UndefinedPixelTrait.
Referenced by IdentifyImage().
MagickExport MagickBooleanType IdentifyImage | ( | Image * | image, |
FILE * | file, | ||
const MagickBooleanType | verbose, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 472 of file identify.c.
References AcquireImageInfo(), AcquireQuantumMemory(), AcquireString(), _Image::alpha_trait, _PixelInfo::alpha_trait, AlphaPixelChannel, _Image::background_color, BlackPixelChannel, _ChromaticityInfo::blue_primary, BluePixelChannel, _Image::border_color, _Image::channels, _Image::chromaticity, CloneString(), CMYKColorspace, _Image::colormap, _Image::colors, _Image::colorspace, _PixelInfo::colorspace, _Image::columns, CommandOptionToMnemonic(), _Image::compose, CompositeMaskChannel, CompositeMaskPixelChannel, CompositePixelChannel, _Image::compression, ConcatenateColorComponent(), ConcatenateMagickString(), ConcatenateString(), CopyMagickString(), CyanPixelChannel, _Image::debug, _Image::delay, _Image::depth, _ChannelStatistics::depth, DestroyImage(), DestroyImageInfo(), DestroyString(), DirectClass, _Image::directory, _Image::dispose, _Image::duration, _Image::endian, _Image::error, _Image::extent, _Image::extract_info, _Image::filename, _ImageInfo::filename, FormatLocaleFile(), FormatLocaleString(), FormatMagickSize(), _Image::gamma, GetColorTuple(), GetElapsedTime(), GetImageArtifact(), GetImageConvexHull(), GetImageDepth(), GetImageFeatures(), GetImageListLength(), GetImageMinimumBoundingBox(), GetImageMoments(), GetImagePerceptualHash(), GetImagePixelCacheType(), GetImageProfile(), GetImageProperty(), GetImageRegistry(), GetImageStatistics(), GetImageTotalInkDensity(), GetLocationStatistics(), GetMagickDescription(), GetMagickInfo(), GetMagickMimeType(), GetMagickModule, GetMagickPrecision(), GetMagickVersion(), GetNextImageArtifact(), GetNextImageInList(), GetNextImageProfile(), GetNextImageProperty(), GetNextImageRegistry(), GetNumberColors(), GetPathComponent(), GetPixelAlpha(), GetPixelChannels(), GetPixelInfo(), GetPixelInfoPixel(), GetPreviousImageInList(), GetStringInfoDatum(), GetStringInfoLength(), GetTimerInfo(), GetUserTime(), GetVirtualPixels(), GRAYColorspace, GrayPixelChannel, _ChromaticityInfo::green_primary, GreenPixelChannel, _RectangleInfo::height, IdentifyImageType(), _Image::intensity, _Image::interlace, IsEventLogging(), IsHistogramImage(), IsStringTrue(), _Image::iterations, LinearGRAYColorspace, LocaleCompare(), LogMagickEvent(), MagentaPixelChannel, _Image::magick, _Image::magick_columns, _Image::magick_filename, magick_restrict, _Image::magick_rows, MagickBooleanOptions, MagickCacheOptions, MagickClassOptions, MagickColorspaceOptions, MagickComposeOptions, MagickCompressOptions, MAGICKCORE_QUANTUM_DEPTH, MagickCoreSignature, MagickDisposeOptions, MagickEndianOptions, MagickEpsilon, MagickFalse, MagickIntentOptions, MagickInterlaceOptions, MagickMin, MagickOrientationOptions, MagickPathExtent, MagickPixelIntensityOptions, MagickResolutionOptions, MagickStatisticOptions, MagickTrue, MagickTypeOptions, _Image::matte_color, _ErrorInfo::mean_error_per_pixel, MetaPixelChannels, _Image::montage, _Image::next, _ErrorInfo::normalized_maximum_error, _ErrorInfo::normalized_mean_error, _Image::number_meta_channels, _Image::orientation, _Image::page, ParseCommandOption(), _Image::previous, PrintChannelFeatures(), PrintChannelLocations(), PrintChannelMoments(), PrintChannelPerceptualHash(), PrintChannelStatistics(), PrintStringInfo(), PseudoClass, _Image::quality, QuantumRange, QueryColorname(), ReadImage(), ReadMaskChannel, ReadMaskPixelChannel, _ChromaticityInfo::red_primary, RedPixelChannel, registry, RelinquishMagickMemory(), _Image::rendering_intent, ResetImageArtifactIterator(), ResetImageProfileIterator(), ResetImagePropertyIterator(), ResetImageRegistryIterator(), _Image::resolution, RGBColorspace, _Image::rows, _Image::scene, sentinel, SetWarningHandler(), _Image::signature, SignatureImage(), _ImageInfo::size, sRGBColorspace, _Image::storage_class, StringRegistryType, StringToList(), StringToUnsignedLong(), SVGCompliance, TailPath, _Image::taint, _Image::ticks_per_second, _Image::tile_offset, _Image::timer, _Image::total_colors, TraceEvent, _Image::transparent_color, TransparentAlpha, _Image::type, UndefinedColorspace, UndefinedCompressionQuality, UndefinedPixelTrait, UndefinedType, _Image::units, _ChromaticityInfo::white_point, _RectangleInfo::width, WriteMaskChannel, WriteMaskPixelChannel, _PointInfo::x, _RectangleInfo::x, _PrimaryInfo::x, X11Compliance, _PointInfo::y, _RectangleInfo::y, _PrimaryInfo::y, and YellowPixelChannel.
Referenced by PingImage(), ReadImage(), and WriteImage().
|
static |
Definition at line 218 of file identify.c.
References FeaturesFormat, FormatLocaleFile(), and PrintFeature.
Referenced by IdentifyImage().
|
static |
Definition at line 279 of file identify.c.
References AcquireExceptionInfo(), _Image::columns, FormatLocaleFile(), GetMagickPrecision(), GetPixelChannelOffset(), GetPixelChannels(), GetPixelChannelTraits(), GetVirtualPixels(), MagickFalse, MagickTrue, _ChannelStatistics::maxima, MaximumStatistic, _ChannelStatistics::minima, MinimumStatistic, QuantumScale, _Image::rows, and UndefinedPixelTrait.
Referenced by IdentifyImage().
|
static |
Definition at line 349 of file identify.c.
References FormatLocaleFile(), GetMagickPrecision(), and MaximumNumberOfImageMoments.
Referenced by IdentifyImage().
|
static |
Definition at line 384 of file identify.c.
References _ChannelPerceptualHash::colorspace, CommandOptionToMnemonic(), FormatLocaleFile(), GetMagickPrecision(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), IndexPixelChannel, MagickColorspaceOptions, MaximumNumberOfPerceptualHashes, _ChannelPerceptualHash::number_colorspaces, and UndefinedPixelTrait.
Referenced by IdentifyImage().
|
static |
Definition at line 440 of file identify.c.
References ClampToQuantum(), FormatLocaleFile(), GetMagickPrecision(), QuantumRange, and StatisticsFormat.
Referenced by IdentifyImage().