- calculateImageStreamLengthInBytes(PdfImageXObject, PdfDocument) - Static method in class com.itextpdf.pdfoptimizer.util.PdfObjectSizeCalculationUtil
-
Calculates the length of an PdfImageXObject
stream in bytes, which it will take in PDF.
- CAN_NOT_CONVERT_DEVICE_COLOR_SPACE_FOR_NON_BITMAP - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
- CAN_NOT_CONVERT_DEVICEN_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
- CAN_NOT_CONVERT_INDEXED_COLOR_SPACE_FOR_NON_BITMAP - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
- CAN_NOT_CONVERT_SEPARATION_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
- CAN_NOT_CONVERT_SHADING_PATTERN_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
- CAN_NOT_CONVERT_TRANSPARENCY_XOBJECT_GROUP_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
- CmykToRgbColorConverter - Class in com.itextpdf.pdfoptimizer.handlers.util.pixel
-
Class representing logic for converting cmyk color to rgb color.
- CmykToRgbCsConverter - Class in com.itextpdf.pdfoptimizer.handlers.converters
-
Class is used to convert color space of PDF objects from DeviceCmyk to DeviceRgb.
- CmykToRgbCsConverter(CsConverterProperties) - Constructor for class com.itextpdf.pdfoptimizer.handlers.converters.CmykToRgbCsConverter
-
- COLOR_SPACE_CONVERTER_NOT_INSTALLED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
-
- COLOR_SPACE_IS_NOT_SUPPORTED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
-
- ColorConversionMode - Enum in com.itextpdf.pdfoptimizer.handlers.converters
-
Enum is used to list available color conversion modes.
- ColorConverter - Interface in com.itextpdf.pdfoptimizer.handlers.util.pixel
-
The interface for converting a single color according to another one or to another representation of the same one.
- ColorSpaceConverter - Class in com.itextpdf.pdfoptimizer.handlers
-
This is the class is used to convert color space of objects located in the transferred PdfDocument
.
- ColorSpaceConverter() - Constructor for class com.itextpdf.pdfoptimizer.handlers.ColorSpaceConverter
-
- com.itextpdf.pdfoptimizer - package com.itextpdf.pdfoptimizer
-
- com.itextpdf.pdfoptimizer.exceptions - package com.itextpdf.pdfoptimizer.exceptions
-
- com.itextpdf.pdfoptimizer.handlers - package com.itextpdf.pdfoptimizer.handlers
-
- com.itextpdf.pdfoptimizer.handlers.converters - package com.itextpdf.pdfoptimizer.handlers.converters
-
- com.itextpdf.pdfoptimizer.handlers.fontduplication - package com.itextpdf.pdfoptimizer.handlers.fontduplication
-
- com.itextpdf.pdfoptimizer.handlers.fontduplication.predicates - package com.itextpdf.pdfoptimizer.handlers.fontduplication.predicates
-
- com.itextpdf.pdfoptimizer.handlers.fontduplication.rules - package com.itextpdf.pdfoptimizer.handlers.fontduplication.rules
-
- com.itextpdf.pdfoptimizer.handlers.imagequality.processors - package com.itextpdf.pdfoptimizer.handlers.imagequality.processors
-
- com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling - package com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling
-
- com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils - package com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils
-
- com.itextpdf.pdfoptimizer.handlers.util - package com.itextpdf.pdfoptimizer.handlers.util
-
- com.itextpdf.pdfoptimizer.handlers.util.pixel - package com.itextpdf.pdfoptimizer.handlers.util.pixel
-
- com.itextpdf.pdfoptimizer.report - package com.itextpdf.pdfoptimizer.report
-
- com.itextpdf.pdfoptimizer.report.builder - package com.itextpdf.pdfoptimizer.report.builder
-
- com.itextpdf.pdfoptimizer.report.decorator - package com.itextpdf.pdfoptimizer.report.decorator
-
- com.itextpdf.pdfoptimizer.report.location - package com.itextpdf.pdfoptimizer.report.location
-
- com.itextpdf.pdfoptimizer.report.message - package com.itextpdf.pdfoptimizer.report.message
-
- com.itextpdf.pdfoptimizer.report.publisher - package com.itextpdf.pdfoptimizer.report.publisher
-
- com.itextpdf.pdfoptimizer.util - package com.itextpdf.pdfoptimizer.util
-
- com.itextpdf.pdfoptimizer.util.traversing - package com.itextpdf.pdfoptimizer.util.traversing
-
- CombinedImageProcessor - Class in com.itextpdf.pdfoptimizer.handlers.imagequality.processors
-
Allow to create complex
IImageProcessor
combined of several image processors called one by one.
- CombinedImageProcessor() - Constructor for class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.CombinedImageProcessor
-
Creates a new instance of the combined image processor.
- CompressionOptimizer - Class in com.itextpdf.pdfoptimizer.handlers
-
Performs maximal compression of every PdfStream
and full compression of the PdfDocument
.
- CompressionOptimizer() - Constructor for class com.itextpdf.pdfoptimizer.handlers.CompressionOptimizer
-
- compressJpeg(byte[], double) - Static method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.ImageProcessingUtil
-
Applies JPEG compression to the provided byte array with the provided compression level.
- convertAnnotationIcArray(PdfArray) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
Converts annotation interior color array by using of current color converter.
- convertAnnotationIcArray(PdfArray) - Method in interface com.itextpdf.pdfoptimizer.handlers.converters.ICsConverter
-
Converts annotation interior color array.
- convertBitmapImage(BitmapImagePixels, ColorConverter) - Static method in class com.itextpdf.pdfoptimizer.handlers.util.CsConverterUtil
-
Converts passed bitmap image bytes from one color space to another according with provided
ColorConverter
.
- convertColor(double[]) - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.CmykToRgbColorConverter
-
Performs a conversion of the provided array representing cmyk color components to the array representing rgb color component.
- convertColor(double[]) - Method in interface com.itextpdf.pdfoptimizer.handlers.util.pixel.ColorConverter
-
Converts provided color.
- convertColor(double[]) - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.RgbToCmykColorConverter
-
Performs a conversion of the provided array representing rgb color components to the array representing cmyk color component.
- convertContentStream(PdfStream, PdfResources, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
Converts color space of the passed content stream.
- convertContentStream(PdfStream, PdfResources, OptimizationSession) - Method in interface com.itextpdf.pdfoptimizer.handlers.converters.ICsConverter
-
Converts color space of the passed content stream.
- CONVERTED_CONTENT_STREAMS_ARE_NOT_ACCESSIBLE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
-
- CONVERTED_CONTENT_STREAMS_KEY - Static variable in class com.itextpdf.pdfoptimizer.OptimizationSession
-
- convertImageCs(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
Converts passed image in original color space to image in target color space.
- convertImageCs(PdfImageXObject, OptimizationSession) - Method in interface com.itextpdf.pdfoptimizer.handlers.converters.ICsConverter
-
Converts color space of passed image.
- convertOperatorParameters(List) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
Converts passed operator parameters color space.
- convertStoredResources(OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
Converts color space of the stored content stream resources.
- convertStoredResources(OptimizationSession) - Method in interface com.itextpdf.pdfoptimizer.handlers.converters.ICsConverter
-
Converts color space of the stored content stream resources.
- create(PdfArray) - Static method in class com.itextpdf.pdfoptimizer.handlers.util.MaskColors
-
Creates an instance of MaskArray based on /Mask entry of the image dictionary.
- CsConverterProperties - Class in com.itextpdf.pdfoptimizer.handlers.converters
-
- CsConverterProperties(ColorConversionMode) - Constructor for class com.itextpdf.pdfoptimizer.handlers.converters.CsConverterProperties
-
- CsConverterUtil - Class in com.itextpdf.pdfoptimizer.handlers.util
-
Helper class which encapsulates util method for color space converting.
- CURRENT_RESOURCES_ARE_NOT_ACCESSIBLE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
-
- CURRENT_RESOURCES_KEY - Static variable in class com.itextpdf.pdfoptimizer.OptimizationSession
-
- customCondition(PdfObject) - Method in class com.itextpdf.pdfoptimizer.handlers.util.PdfImageXObjectPredicate
-
When overridden allows to provide custom condition on images which match the predicate.
- get(long[]) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.ArrayStorage
-
Gets the value associated with the provided array.
- getAll() - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.ArrayStorage
-
Gets all stored arrays with its identifiers.
- getArray() - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.HashableArray
-
Getter for a stored array.
- getBitsPerComponent() - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Getter for bits per component parameter of the image.
- getCanvas() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.PdfCanvasCsConverter
-
Gets resulting PDF canvas.
- getColorConverter() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
- getColorConverter() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.CmykToRgbCsConverter
-
- getColorConverter() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.RgbToCmykCsConverter
-
- getConversionMode() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.CsConverterProperties
-
- getConvertedColorMask(long, ColorConverter) - Method in class com.itextpdf.pdfoptimizer.handlers.util.MaskColors
-
Converts maskArray from one color space to another according to provided
ColorConverter
.
- getConverterProperties() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
- getConverterProperties() - Method in interface com.itextpdf.pdfoptimizer.handlers.converters.ICsConverter
-
Gets current converter properties instance.
- getCsConverter() - Method in class com.itextpdf.pdfoptimizer.handlers.ColorSpaceConverter
-
Gets a current color space converter instance.
- getCurrentLocation() - Method in class com.itextpdf.pdfoptimizer.report.location.LocationStack
-
Gets string representation for top-level location which is consider as actual location.
- getData() - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Getter for byte representation of the image.
- getDecorator() - Method in class com.itextpdf.pdfoptimizer.report.publisher.FileReportPublisher
-
- getEvent(PdfOptimizerProfile) - Static method in class com.itextpdf.pdfoptimizer.PdfOptimizerEvent
-
Generates event based on used profile.
- getEventType() - Method in class com.itextpdf.pdfoptimizer.PdfOptimizerEvent
-
Gets the type of the event.
- getFile() - Method in class com.itextpdf.pdfoptimizer.report.publisher.FileReportPublisher
-
Gets the file where report should be placed.
- getFooter() - Method in class com.itextpdf.pdfoptimizer.report.decorator.DefaultReportDecorator
-
Creates an empty footer.
- getFooter() - Method in interface com.itextpdf.pdfoptimizer.report.decorator.IReportDecorator
-
Retrieves a footer of the optimization report.
- getFoundObjects() - Method in class com.itextpdf.pdfoptimizer.util.traversing.SearchAction
-
- getFullStack() - Method in class com.itextpdf.pdfoptimizer.report.location.LocationStack
-
Gets string representation full location stack.
- getHashCode(PdfDictionary) - Method in class com.itextpdf.pdfoptimizer.handlers.fontduplication.PdfDictionaryEqualityCalculator
-
- getHashCode(PdfObject) - Static method in class com.itextpdf.pdfoptimizer.util.EqualityUtils
-
Calculates a hash for the object.
- getHeader() - Method in class com.itextpdf.pdfoptimizer.report.decorator.DefaultReportDecorator
-
Creates an empty header.
- getHeader() - Method in interface com.itextpdf.pdfoptimizer.report.decorator.IReportDecorator
-
Retrieves a header of the optimization report.
- getHeight() - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Getter for a height of the image.
- getImageProcessors() - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Gets a copy of current configuration of the image processor.
- getInstance() - Static method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.CmykToRgbColorConverter
-
Returns an instance of cmyk to rgb converter.
- getInstance() - Static method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.RgbToCmykColorConverter
-
Returns an instance of rgb to cmyk converter.
- getLevel() - Method in class com.itextpdf.pdfoptimizer.report.message.ReportMessage
-
- getLocation() - Method in class com.itextpdf.pdfoptimizer.report.message.ReportMessage
-
Retrieves a location where message was generated.
- getMax() - Method in class com.itextpdf.pdfoptimizer.handlers.util.MaskColors
-
Gets maximum color to mask out which is defined by the elements at odd positions of the original array (considering the array as 0-indexed).
- getMaxComponentValue() - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Gets the maximum value for the component.
- getMessage() - Method in class com.itextpdf.pdfoptimizer.report.message.ReportMessage
-
Retrieves content of the message.
- getMessages() - Method in class com.itextpdf.pdfoptimizer.report.builder.DefaultReportBuilder
-
Returns list of logged messages.
- getMessages() - Method in class com.itextpdf.pdfoptimizer.report.OptimizationResult
-
Gets the list of messages logged during the optimization process.
- getMin() - Method in class com.itextpdf.pdfoptimizer.handlers.util.MaskColors
-
Gets minimum color to mask out which is defined by the elements at even positions of the original array (considering the array as 0-indexed).
- getNumberOfComponents() - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Getter for number of components parameter of the image.
- getOriginalCsClass() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.AbstractCsConverter
-
Gets original color space class.
- getOriginalCsClass() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.CmykToRgbCsConverter
-
- getOriginalCsClass() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.RgbToCmykCsConverter
-
- getOriginId() - Method in class com.itextpdf.pdfoptimizer.PdfOptimizerEvent
-
Gets the origin id of the event.
- getOutputIntent() - Method in class com.itextpdf.pdfoptimizer.handlers.converters.CsConverterProperties
-
Gets output intent instance which will be used for replacing original PDF output intent when converting the color space.
- getPdfOptimizerByProfile(PdfOptimizerProfile) - Static method in class com.itextpdf.pdfoptimizer.PdfOptimizerFactory
-
- getPixel(int, int) - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Gets pixel of the image.
- getPixelAsLongs(int, int) - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Gets pixel of the image presented as long values.
- getPredicate() - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Gets current search predicate.
- getSeparator() - Method in class com.itextpdf.pdfoptimizer.report.decorator.DefaultReportDecorator
-
Uses \r\n as a separator.
- getSeparator() - Method in interface com.itextpdf.pdfoptimizer.report.decorator.IReportDecorator
-
Retrieves a bunch of symbols used to separate different messages.
- getSourceColorspace() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.CmykToRgbColorConverter
-
- getSourceColorspace() - Method in interface com.itextpdf.pdfoptimizer.handlers.util.pixel.ColorConverter
-
Returns original color space of the color.
- getSourceColorspace() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.RgbToCmykColorConverter
-
- getSourceNumberOfComponents() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.CmykToRgbColorConverter
-
- getSourceNumberOfComponents() - Method in interface com.itextpdf.pdfoptimizer.handlers.util.pixel.ColorConverter
-
Return number of components representing the original color space.
- getSourceNumberOfComponents() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.RgbToCmykColorConverter
-
- getStoredValue(String) - Method in class com.itextpdf.pdfoptimizer.OptimizationSession
-
Retrieves stored value associated with the provided key.
- getTargetColorspace() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.CmykToRgbColorConverter
-
- getTargetColorspace() - Method in interface com.itextpdf.pdfoptimizer.handlers.util.pixel.ColorConverter
-
Returns target color space of the color.
- getTargetColorspace() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.RgbToCmykColorConverter
-
- getTargetNumberOfComponents() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.CmykToRgbColorConverter
-
- getTargetNumberOfComponents() - Method in interface com.itextpdf.pdfoptimizer.handlers.util.pixel.ColorConverter
-
Return number of components representing the target color space.
- getTargetNumberOfComponents() - Method in class com.itextpdf.pdfoptimizer.handlers.util.pixel.RgbToCmykColorConverter
-
- getTime() - Method in class com.itextpdf.pdfoptimizer.report.message.ReportMessage
-
Retrieves the time when the message was generated.
- getWidth() - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Getter for a width of the image.
- IAction - Interface in com.itextpdf.pdfoptimizer.util.traversing
-
Defines an action performing during recursive traversing across PdfDocument
structure.
- ICsConverter - Interface in com.itextpdf.pdfoptimizer.handlers.converters
-
Interface for color space converting of PDF objects.
- IImageProcessor - Interface in com.itextpdf.pdfoptimizer.handlers.imagequality.processors
-
Interface for processing of images stored as PdfImageXObject
with a specified ImageType
.
- IMAGE_COLOR_SPACE_WAS_CONVERTED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
-
- IMAGE_INCREASED_SIZE_AFTER_OPTIMIZATION - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
-
- IMAGE_WAS_OPTIMIZED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
-
- ImageProcessingUtil - Class in com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils
-
Helper class which encapsulates util method for image processing.
- ImageQualityOptimizer - Class in com.itextpdf.pdfoptimizer.handlers
-
Looks for image streams and performs theirs optimization.
- ImageQualityOptimizer() - Constructor for class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Creates an empty image quality optimizer.
- ImageQualityOptimizer(Map) - Constructor for class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Creates a new image quality optimizer with custom configuration of image processors.
- IMessageDecorator - Interface in com.itextpdf.pdfoptimizer.report.decorator
-
Used to create custom representations of
ReportMessage
as String.
- INLINE_IMAGE_WAS_CONVERTED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
-
- INLINE_IMAGE_WAS_TRANSFORMED_TO_XOBJECT - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
-
- INVALID_COMPRESSION_PARAMETER - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
Message notifies that compression parameter is out of range [0., 1.].
- INVALID_DATA_LENGTH - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
Message notifies that the passed data length does not match the expected data length.
- INVALID_OUTPUT_INTENT_ICC_PROFILE_COLOR_SPACE - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
Message notifies that the passed output intent store incorrect Icc profile color space for current color space converter instance.
- INVALID_OUTPUT_INTENT_SUBTYPE - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
- INVALID_SCALING_PARAMETER - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
Message notifies that scaling parameter is out of range [0., 1.].
- invokeOperator(PdfLiteral, List) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.PdfCanvasCsConverter
-
Process PDF content stream operators.
- IPdfObjectPredicate - Interface in com.itextpdf.pdfoptimizer.util.traversing
-
Representation of predicate for where PdfObject
is used an argument.
- IReportDecorator - Interface in com.itextpdf.pdfoptimizer.report.decorator
-
Used to create custom representations of optimization report.
- IReportPublisher - Interface in com.itextpdf.pdfoptimizer.report.publisher
-
Interface is used to configure and publish optimization report.
- IS_PDF_A_DOCUMENT_ARE_NOT_ACCESSIBLE - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
-
- IS_PDF_A_DOCUMENT_KEY - Static variable in class com.itextpdf.pdfoptimizer.OptimizationSession
-
- isAccepted(SeverityLevel) - Method in enum com.itextpdf.pdfoptimizer.report.message.SeverityLevel
-
Checks if current severity level is not less then provided minimal severity level.
- IScalingAlgorithm - Interface in com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling
-
Defines an algorithm of bitmap image scaling.
- isColorMasked(long[]) - Method in class com.itextpdf.pdfoptimizer.handlers.util.MaskColors
-
Checks if provided color is masked by the current mask because all its components are in the range defined by the min and max arrays of the mask.
- IValueUpdateRule - Interface in com.itextpdf.pdfoptimizer.handlers.fontduplication.rules
-
The interface is used to make hash calculating / equality check more flexible.
- PDF_A_ID_SCHEMAS_WERE_REMOVED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
-
- PdfCanvasCsConverter - Class in com.itextpdf.pdfoptimizer.handlers.converters
-
Processor for converting PDF content stream color space.
- PdfCanvasCsConverter(PdfDocument, AbstractCsConverter, OptimizationSession) - Constructor for class com.itextpdf.pdfoptimizer.handlers.converters.PdfCanvasCsConverter
-
- PdfDictionaryEqualityCalculator - Class in com.itextpdf.pdfoptimizer.handlers.fontduplication
-
Class is used for flexible comparison of two instances of PdfDictionary
.
- PdfDictionaryEqualityCalculator(List) - Constructor for class com.itextpdf.pdfoptimizer.handlers.fontduplication.PdfDictionaryEqualityCalculator
-
Creates a new instance of the class.
- PdfImageXObjectPredicate - Class in com.itextpdf.pdfoptimizer.handlers.util
-
Checks if current PdfObject
is a PdfImageXObject
.
- PdfImageXObjectPredicate() - Constructor for class com.itextpdf.pdfoptimizer.handlers.util.PdfImageXObjectPredicate
-
- PdfObjectSizeCalculationUtil - Class in com.itextpdf.pdfoptimizer.util
-
Util class for calculating the size of an PdfObject
in bytes, which it will take in PDF.
- PdfOptimizer - Class in com.itextpdf.pdfoptimizer
-
Entry point for Pdf Optimization process.
- PdfOptimizer() - Constructor for class com.itextpdf.pdfoptimizer.PdfOptimizer
-
Creates a new instance of PdfOptimizer, the main entry point of the optimization process.
- PdfOptimizerEvent - Class in com.itextpdf.pdfoptimizer
-
Class for pdf optimizer events.
- PdfOptimizerException - Exception in com.itextpdf.pdfoptimizer.exceptions
-
Exception class for exceptions in pdfOptimizer module.
- PdfOptimizerException(String) - Constructor for exception com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerException
-
- PdfOptimizerExceptionMessageConstant - Class in com.itextpdf.pdfoptimizer.exceptions
-
Class that bundles all the exception message templates as constants.
- PdfOptimizerFactory - Class in com.itextpdf.pdfoptimizer
-
- PdfOptimizerLogMessageConstants - Class in com.itextpdf.pdfoptimizer
-
Class that bundles all the message templates as constants.
- PdfOptimizerProfile - Enum in com.itextpdf.pdfoptimizer
-
Enum is used to list available PdfOptimizer profiles.
- PIXEL_OUT_OF_BORDERS - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
Message notifies about access to a pixel which is out of borders of the image.
- processImage(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapCmykToRgbConverter
-
If provided image is a bitmap image with DeviceCMYK color scheme then converts it to the image with DeviceRGB color scheme.
- processImage(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapCompressor
-
Optimizes a bitmap image: scales it, changes color scheme from CMYK to RGB if necessary and then compressed it as JPEG.
- processImage(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapDeindexer
-
If bitmap image is in Indexed color space the Deindexer will create a representation of the same in based color space.
- processImage(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapIndexer
-
Calculates the number of colors used for the image and if it is not more than 256 builds an index for the image and change the color space to Indexed.
- processImage(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.BitmapScalingProcessor
-
Scales a bitmap image presented as PdfImageXObject
.
- processImage(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.CombinedImageProcessor
-
Processes image by set processors one by one.
- processImage(PdfImageXObject, OptimizationSession) - Method in interface com.itextpdf.pdfoptimizer.handlers.imagequality.processors.IImageProcessor
-
Processes an image.
- processImage(PdfImageXObject, OptimizationSession) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.JpegCompressor
-
Compresses a JPEG image presented as PdfImageXObject
with the configured compression level.
- processIndirectObjectDefinition(PdfObject) - Method in interface com.itextpdf.pdfoptimizer.util.traversing.IAction
-
Performs a required action with each definition of indirect PdfObject
of the document.
- processIndirectObjectDefinition(PdfObject) - Method in class com.itextpdf.pdfoptimizer.util.traversing.ReplaceObjectsAction
-
Does nothing as indirect object cannot be replaced.
- processIndirectObjectDefinition(PdfObject) - Method in class com.itextpdf.pdfoptimizer.util.traversing.SearchAction
-
Evaluates this predicate on the given indirect PdfObject
definition and adds it to search results if object matches the condition.
- processMessage(ReportMessage) - Method in class com.itextpdf.pdfoptimizer.report.builder.DefaultReportBuilder
-
Allows to provide additional logic of message processing.
- processMessage(ReportMessage) - Method in class com.itextpdf.pdfoptimizer.report.builder.LogReportBuilder
-
Stores message and logs it using logger.
- processObject(PdfObject) - Method in interface com.itextpdf.pdfoptimizer.util.traversing.IAction
-
Performs a required action with the each PdfObject
of the document.
- processObject(PdfObject) - Method in class com.itextpdf.pdfoptimizer.util.traversing.ReplaceObjectsAction
-
Replaces object if necessary according to the provided schema.
- processObject(PdfObject) - Method in class com.itextpdf.pdfoptimizer.util.traversing.SearchAction
-
Evaluates this predicate on the given PdfObject
and adds it to search results if object matches the condition.
- PROFILE_CANNOT_BE_NULL - Static variable in class com.itextpdf.pdfoptimizer.exceptions.PdfOptimizerExceptionMessageConstant
-
- publishReport(List) - Method in class com.itextpdf.pdfoptimizer.report.publisher.FileReportPublisher
-
- publishReport(List) - Method in interface com.itextpdf.pdfoptimizer.report.publisher.IReportPublisher
-
Generates report based on list of messages and saves it to file.
- scale(BitmapImagePixels, double) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling.AverageCalculationAlgorithm
-
Scales a bitmap image by calculating average color of all pixels of the original image covered by the pixel of resulting image.
- scale(BitmapImagePixels, double) - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling.DroppingAlgorithm
-
Scales a bitmap image by copying the nearest neighbor pixel of the original.
- scale(BitmapImagePixels, double) - Method in interface com.itextpdf.pdfoptimizer.handlers.imagequality.processors.scaling.IScalingAlgorithm
-
Scales a bitmap image.
- search(PdfDocument, IPdfObjectPredicate) - Static method in class com.itextpdf.pdfoptimizer.util.DocumentStructureUtils
-
Collects all objects matches the provided predicate.
- SearchAction - Class in com.itextpdf.pdfoptimizer.util.traversing
-
Collects all objects matches the provided predicate.
- SearchAction(IPdfObjectPredicate) - Constructor for class com.itextpdf.pdfoptimizer.util.traversing.SearchAction
-
Creates a new instance of searching action.
- setCsConverter(ICsConverter) - Method in class com.itextpdf.pdfoptimizer.handlers.ColorSpaceConverter
-
Sets a color space converter instance.
- setDecorator(IReportDecorator) - Method in class com.itextpdf.pdfoptimizer.report.publisher.FileReportPublisher
-
- setFile(File) - Method in class com.itextpdf.pdfoptimizer.report.publisher.FileReportPublisher
-
Sets the file where report should be placed.
- setJBig2Processor(IImageProcessor) - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Sets a processor for ImageType.JBIG2
images.
- setJpeg2000Processor(IImageProcessor) - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Sets a processor for ImageType.JPEG2000
images.
- setJpegProcessor(IImageProcessor) - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Sets a processor for ImageType.JPEG
images.
- setOutputIntent(PdfOutputIntent) - Method in class com.itextpdf.pdfoptimizer.handlers.converters.CsConverterProperties
-
Sets output intent instance which will be used for replacing original PDF output intent when converting the color space.
- setPixel(int, int, double[]) - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Updates a pixel of the image.
- setPixel(int, int, long[]) - Method in class com.itextpdf.pdfoptimizer.handlers.util.BitmapImagePixels
-
Updates a pixel of the image.
- setPngProcessor(IImageProcessor) - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Sets a processor for ImageType.PNG
images.
- setPredicate(PdfImageXObjectPredicate) - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Sets a search predicate.
- setReportBuilder(DefaultReportBuilder) - Method in class com.itextpdf.pdfoptimizer.PdfOptimizer
-
- setTiffProcessor(IImageProcessor) - Method in class com.itextpdf.pdfoptimizer.handlers.ImageQualityOptimizer
-
Sets a processor for ImageType.TIFF
images.
- SeverityLevel - Enum in com.itextpdf.pdfoptimizer.report.message
-
The enum is used to distinguish instances of
ReportMessage
according to their severity level.
- size() - Method in class com.itextpdf.pdfoptimizer.handlers.imagequality.processors.utils.ArrayStorage
-
Gets size of the storage.
- storeValue(String, Object) - Method in class com.itextpdf.pdfoptimizer.OptimizationSession
-
Puts a value and a key associated with it into internal storage.
- STREAM_COLOR_SPACE_WAS_CONVERTED - Static variable in class com.itextpdf.pdfoptimizer.report.message.ReportMessageConstants
-
- SymmetricPair - Class in com.itextpdf.pdfoptimizer.util
-
Storage for two objects without strict order.
- SymmetricPair(Object, Object) - Constructor for class com.itextpdf.pdfoptimizer.util.SymmetricPair
-
Creates a new instance of the class with two provided objects.