Class ExifDataProcessor

  • All Implemented Interfaces:
    IUploadPostProcessor

    @Deprecated(since="8.6.0")
    public class ExifDataProcessor
    extends Object
    implements IUploadPostProcessor
    Deprecated.
    Use ImageUploadProcessor instead, which does the same and which can compress the image in the same step, so that an image is not encoded (and, for a format such as JPEG, degraded) twice.
    Upload postprocessor implementation that adjusts the orientation and clears the metadata of supported images.
    • Constructor Detail

      • ExifDataProcessor

        public ExifDataProcessor​(Consumer<String> protocolEntryHandler)
        Deprecated.
        Parameters:
        protocolEntryHandler - handles protocol entries (usually i18n keys) while processing the provided upload
    • Method Detail

      • isProcessable

        public boolean isProcessable​(IXUpload upload)
        Deprecated.
        Specified by:
        isProcessable in interface IUploadPostProcessor
        Parameters:
        upload - the source upload
        Returns:
        true if the provided upload can be processed by this processor, false if not.