Fix problem images in place, overwriting originals instead of creating
copies.
This commit is contained in:
parent
2e5f5f9ca1
commit
53d8ff636c
Binary file not shown.
@ -33,7 +33,7 @@ public class Tagger {
|
||||
}
|
||||
|
||||
//Process tool = Runtime.getRuntime().exec("tool.exe -exif:XPKeywords=\""+sb.toString()+"\" "+imagetoTag.getAbsolutePath()+" -overwrite_original_in_place -P");
|
||||
String command = "tool.exe -exif:all= -tagsfromfile @ -exif:all -unsafe -thumbnailimage -F \""+imagetoTag.getAbsolutePath()+"\"";
|
||||
String command = "tool.exe -exif:all= -tagsfromfile @ -exif:all -unsafe -thumbnailimage -F \""+imagetoTag.getAbsolutePath()+"\" -overwrite_original_in_place -P";
|
||||
CommandLine cmdLine = CommandLine.parse(command);
|
||||
DefaultExecutor executor = new DefaultExecutor();
|
||||
int exitValue = executor.execute(cmdLine);
|
||||
|
Loading…
x
Reference in New Issue
Block a user