Skip to content

Commit

Permalink
Version 2.2.1
Browse files Browse the repository at this point in the history
Fixed a bug where JpegDirectory had tag names for image width and height around the wrong way.  Thanks to Sander Smith for pointing this out.

git-svn-id: https://metadata-extractor.googlecode.com/svn/trunk@7 7bd79e3c-ab28-1fa5-d007-79fa9fde61af
  • Loading branch information
drewnoakes committed Oct 24, 2003
1 parent ded6e0c commit 54c6006
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v2.2.1
------------

- Fixed a bug where JpegDirectory had tag names for image width and height around
the wrong way. Thanks to Sander Smith for pointing this out.

v2.2
------------

Expand Down
2 changes: 1 addition & 1 deletion metadata-extractor.build
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<property name="lib" value="lib"/>
<property name="verbose" value="true"/>
<property name="debug" value="off"/>
<property name="version" value="2.2"/>
<property name="version" value="2.2.1"/>
<property name="classpath" value="lib/junit.jar"/>

<target name="clean" description="deletes and recreates the destination directory">
Expand Down
4 changes: 2 additions & 2 deletions src/com/drew/metadata/jpeg/JpegDirectory.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public class JpegDirectory extends Directory {

static {
tagNameMap.put(new Integer(TAG_JPEG_DATA_PRECISION), "Data Precision");
tagNameMap.put(new Integer(TAG_JPEG_IMAGE_HEIGHT), "Image Width");
tagNameMap.put(new Integer(TAG_JPEG_IMAGE_WIDTH), "Image Height");
tagNameMap.put(new Integer(TAG_JPEG_IMAGE_WIDTH), "Image Width");
tagNameMap.put(new Integer(TAG_JPEG_IMAGE_HEIGHT), "Image Height");
tagNameMap.put(new Integer(TAG_JPEG_NUMBER_OF_COMPONENTS), "Number of Components");
tagNameMap.put(new Integer(TAG_JPEG_COMPONENT_DATA_1), "Component 1");
tagNameMap.put(new Integer(TAG_JPEG_COMPONENT_DATA_2), "Component 2");
Expand Down

0 comments on commit 54c6006

Please sign in to comment.