P_W999 avatar P_W999 committed 436dd50

Edited online

Comments (0)

Files changed (1)

 Currently, you can only read and write ExifIFD and IFD0 tags using J-ExifTool, future versions might include
 * Copy tag from another image
 * Date-shift
-* Read-all tags
 * More 'known' tags in the library
 
 J-ExifTool is very, very beta at the moment and the feature-set is relatively limited, but if you find any bugs, feel free to [[https://bitbucket.org/P_W999/j-exiftool/issues/new|report]] them.
 
 More info about GPS + Exiftool can be found [[http://www.sno.phy.queensu.ca/~phil/exiftool/faq.html#Q14|here]] and the complete list of supported GPS tags (including the values they support can be found [[http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/GPS.html|here]]
 
+=== Using unsupported Tags ===
+I currently do not have the time to convert the complete list of supported tags into java code. Since v0.0.4 you can "add" support for other Tags. All you have to do is create a new enum that implements the Tag interface. 
+For example:
+{{{
+#!java
+public enum TestTagClass implements Tag {
+		LENSSPEC("LensSpec", false, false, false, DataType.STRING);
+		private final boolean avoided;
+		private final boolean unsafe;
+		private final boolean protectedField;
+		private final String name;
+		private final DataType type;
+
+		private TestTagClass(final String name, final boolean unsafe, final boolean avoided, final boolean protectedField, final DataType type) {
+			this.avoided = avoided;
+			this.unsafe = unsafe;
+			this.protectedField = protectedField;
+			this.name = name;
+			this.type = type;
+		}
+
+//some getters come here
+}}}
+
+You can then register your new set of tags:
+{{{
+#!java
+TagUtil.register(TestTagClass.class);
+}}}
+
+=== Change the language of the error messages ===
+Since v0.0.4 you can change the language of the error messages with the following snippet:
+{{{
+#!java
+Cal10nUtil.changeLocale(new Locale("nl"));
+}}}
+
+If the language isn't supported, J-ExifTool will fallback to english. Currently, following languages are supported:
+* English
+* Dutch
+
 === Troubleshooting ===
 ==== Deadlocked after iteration of x ====
 This error indicates that J-ExifTool waited too long for the ExifTool output to finish. This happens if
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.