Package org.apache.commons.imaging.formats.tiff.photometricinterpreters

Examples of org.apache.commons.imaging.formats.tiff.photometricinterpreters.PhotometricInterpreterBiLevel


        switch (photometricInterpretation) {
        case 0:
        case 1:
            final boolean invert = photometricInterpretation == 0;

            return new PhotometricInterpreterBiLevel(samplesPerPixel,
                    bitsPerSample, predictor, width, height, invert);
        case 3: // Palette
        {
            final int[] colorMap = directory.findField(
                    TiffTagConstants.TIFF_TAG_COLOR_MAP, true)
View Full Code Here

TOP

Related Classes of org.apache.commons.imaging.formats.tiff.photometricinterpreters.PhotometricInterpreterBiLevel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.