Package org.photovault.image

Examples of org.photovault.image.ImageIOImage


    /**
     This method reads the metadata from image file and updates the PhotoInfo record from it
     @param f The file to read
     */
    void updateFromFileMetadata( File f ) {
        ImageIOImage img = ImageIOImage.getImage( f, false, true );
        if ( img == null ) {
            return;
        }
       
       
        setShootTime( img.getTimestamp() );

        // Exposure
        setFStop( img.getAperture() );
       
        setShutterSpeed( img.getShutterSpeed() );
        setFocalLength( img.getFocalLength() );
        setFilmSpeed( img.getFilmSpeed() );
        String camera = img.getCamera();
        if ( camera.length() > CAMERA_LENGTH ) {
            camera = camera.substring( 0, CAMERA_LENGTH );
        }
        setCamera( camera );
       
View Full Code Here

TOP

Related Classes of org.photovault.image.ImageIOImage

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.