Class ImageMetadataConfig

java.lang.Object
org.apache.tika.parser.image.ImageMetadataConfig
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RawTiffParser.RawTiffParserConfig

public class ImageMetadataConfig extends Object implements Serializable
Options for the metadata-extractor pass shared by the JPEG, TIFF, HEIF, BPG and WebP parsers. Each parser reads it from its own component name in the config, or from a class-keyed instance in the ParseContext.
See Also:
  • Constructor Details

    • ImageMetadataConfig

      public ImageMetadataConfig()
  • Method Details

    • isIncludeIccCurvesAndLuts

      public boolean isIncludeIccCurvesAndLuts()
      Whether ICC profile tags whose data is a tone curve or lookup table (curv, para, mft1, mft2, mAB, mBA) are written to icc:*. Off by default: the values are long numeric dumps that nobody queries, and formatting them dominates the cost of reading an ICC-profiled image. Header and text tags (profile description, color space, device class, ...) are always kept.
    • setIncludeIccCurvesAndLuts

      public void setIncludeIccCurvesAndLuts(boolean includeIccCurvesAndLuts)