src/org/github/solegaonkar/photography/framework/Photograph.java
/**
	 * Load the Buffered Image and Metadata from the file.
	 * 
	 * @throws Exception
	 */
Load the Buffered Image and Metadata from the file.

@throws Exception
Load the Buffered Image and Metadata from the file . @throws Exception
private void load() throws Exception {
		image = ImageIO.read(file);
		IImageMetadata imd = Sanselan.getMetadata(file);
		if (imd instanceof JpegImageMetadata) {
			for (Object o : ((JpegImageMetadata) imd).getItems()) {
				Item item = (Item) o;
				metadataMap.put(item.getKeyword(), item.getText());
			}
		}
	}
private void load ( ) throws Exception { image = ImageIO . read ( file ) ; IImageMetadata imd = Sanselan . getMetadata ( file ) ; if ( imd instanceof JpegImageMetadata ) { for ( Object o : ( ( JpegImageMetadata ) imd ) . getItems ( ) ) { Item item = ( Item ) o ; metadataMap . put ( item . getKeyword ( ) , item . getText ( ) ) ; } } }
Load the Buffered Image and Metadata from the file.
Load the Buffered Image and Metadata from the file .
// get all metadata stored in EXIF format (ie. from JPEG or TIFF).
