Class OpenCVImageWriter

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, FileFormatHandler, LoggingLevelHandler, LoggingSupporter, OptionHandler, SizeOfHandler, ImageWriter<OpenCVImageContainer>, Serializable

    public class OpenCVImageWriter
    extends AbstractImageWriter<OpenCVImageContainer>
    Writes images using OpenCV. Writing can be influenced via the write flags and their corresponding values.
    For more information see:
    https://docs.opencv.org/4.6.0/d8/d6a/group__imgcodecs__flags.html#ga292d81be8d76901bff7988d18d2b42ac

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -flag <IMWRITE_JPEG_QUALITY|IMWRITE_JPEG_PROGRESSIVE|IMWRITE_JPEG_OPTIMIZE|IMWRITE_JPEG_RST_INTERVAL|IMWRITE_JPEG_LUMA_QUALITY|IMWRITE_JPEG_CHROMA_QUALITY|IMWRITE_PNG_COMPRESSION|IMWRITE_PNG_STRATEGY|IMWRITE_PNG_BILEVEL|IMWRITE_PXM_BINARY|IMWRITE_EXR_TYPE|IMWRITE_EXR_COMPRESSION|IMWRITE_WEBP_QUALITY|IMWRITE_PAM_TUPLETYPE|IMWRITE_TIFF_RESUNIT|IMWRITE_TIFF_XDPI|IMWRITE_TIFF_YDPI|IMWRITE_TIFF_COMPRESSION|IMWRITE_JPEG2000_COMPRESSION_X1000> [-flag ...] (property: flags)
        The flags influencing the writing.
        default:
     
    -value <adams.core.base.BaseInteger> [-value ...] (property: values)
        The values corresponding with the flags.
        default:
     
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form