Package com.lightcrafts.image.libs

Examples of com.lightcrafts.image.libs.LCImageLibException


        try {
            final int numComponents = image.getColorModel().getNumComponents();
            final int colorSpace =
                LCJPEGWriter.getColorSpaceFromNumComponents( numComponents );
            if ( colorSpace == CS_UNKNOWN )
                throw new LCImageLibException(
                    "Unsupported number of components: " + numComponents
                );

            final LCJPEGWriter writer = new LCJPEGWriter(
                options.getExportFile().getPath(),
View Full Code Here

TOP

Related Classes of com.lightcrafts.image.libs.LCImageLibException

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.