Package com.lightcrafts.image.metadata.values

Examples of com.lightcrafts.image.metadata.values.UnsignedLongMetaValue


            case CIFF_IMAGE_FORMAT:
                //
                // The image format has "junk" values past the value of
                // interest (which is the first), so discard them.
                //
                value = new UnsignedLongMetaValue( value.getLongValue() );
                break;
            case CIFF_SI_ISO:
                if ( value.getIntValue() == 0 )
                    return;             // Use EXIF_ISO_SPEED_RATINGS instead.
                break;
View Full Code Here


        String name = file.getName();
        ImageMetaValue nameValue = new StringMetaValue(name);
        core.putValue(CORE_FILE_NAME, nameValue);

        long length = file.length();
        ImageMetaValue lengthValue = new UnsignedLongMetaValue(length);
        core.putValue(CORE_FILE_SIZE, lengthValue);

        long time = file.lastModified();
        ImageMetaValue timeValue = new DateMetaValue(time);
        core.putValue(CORE_FILE_DATE_TIME, timeValue);
View Full Code Here

TOP

Related Classes of com.lightcrafts.image.metadata.values.UnsignedLongMetaValue

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.