git://git.nikiroo.be
/
jvcard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile fix(1), More stdout info on --X-photo(2):
[jvcard.git]
/
src
/
be
/
nikiroo
/
jvcard
/
launcher
/
Main.java
diff --git
a/src/be/nikiroo/jvcard/launcher/Main.java
b/src/be/nikiroo/jvcard/launcher/Main.java
index 85223d878560efb1d5dc55a8e6d9f5b781a8639f..080223d07251b8b54e561c5b917e2dbe477def19 100644
(file)
--- a/
src/be/nikiroo/jvcard/launcher/Main.java
+++ b/
src/be/nikiroo/jvcard/launcher/Main.java
@@
-37,7
+37,7
@@
import be.nikiroo.jvcard.resources.enums.StringId;
*/
public class Main {
static public final String APPLICATION_TITLE = "jVcard";
*/
public class Main {
static public final String APPLICATION_TITLE = "jVcard";
- static public final String APPLICATION_VERSION = "1.0";
+ static public final String APPLICATION_VERSION = "1.0
-dev
";
static private final int ERR_NO_FILE = 1;
static private final int ERR_SYNTAX = 2;
static private final int ERR_NO_FILE = 1;
static private final int ERR_SYNTAX = 2;
@@
-316,6
+316,7
@@
public class Main {
File f = new File(dir, filename);
if (f.exists()) {
File f = new File(dir, filename);
if (f.exists()) {
+ System.out.println("Loading " + f);
try {
String b64 = StringUtils.fromImage(ImageIO
.read(f));
try {
String b64 = StringUtils.fromImage(ImageIO
.read(f));
@@
-356,6
+357,7
@@
public class Main {
if (photo != null) {
String filename = contact.toString(format, "");
File f = new File(dir, filename + ".png");
if (photo != null) {
String filename = contact.toString(format, "");
File f = new File(dir, filename + ".png");
+ System.out.println("Saving " + f);
try {
ImageIO.write(
StringUtils.toImage(photo.getValue()),
try {
ImageIO.write(
StringUtils.toImage(photo.getValue()),