Package it.geosolutions.imageioimpl.plugins.tiff

Examples of it.geosolutions.imageioimpl.plugins.tiff.TIFFIFD


        final RasterSlice slice = new RasterSlice();
        slice.source=source;
       
        // get metadata and check if this is an overview or not
        final TIFFImageMetadata metadata = (TIFFImageMetadata) reader.getImageMetadata(index);
        final TIFFIFD IFD = metadata.getRootIFD();
       
        //
        // Overviews or full resolution?
        //
        boolean fullResolution=true;   
//        boolean multipage=false;
        final int newSubfileType;
        TIFFField tifField=null;
        if((tifField=IFD.getTIFFField(254))!=null)
            newSubfileType=tifField.getAsInt(0);
        else
            newSubfileType=0;// default is single independent image
        fullResolution=(newSubfileType&0x1)!=1?true:false;
//        multipage=((newSubfileType>>1)&0x2)!=1?true:false;
View Full Code Here

TOP

Related Classes of it.geosolutions.imageioimpl.plugins.tiff.TIFFIFD

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.