public void setUp() throws JpegProcessingException, FileNotFoundException
{
// use a known testing image
File jpegFile = new File("src/com/drew/metadata/jpeg/test/simple.jpg");
JpegReader reader = new JpegReader(jpegFile);
Metadata metadata = reader.extract();
assertTrue(metadata.containsDirectory(JpegDirectory.class));
_directory = (JpegDirectory)metadata.getDirectory(JpegDirectory.class);
}
public void testExtract_Width() throws Exception