X-Git-Url: http://git.nikiroo.be/?p=jvcard.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Fjvcard%2Fresources%2FStringUtils.java;h=e9203d5b5226b37d52fe102622f49ca729ba4f0b;hp=cee9fb62715158ec6c2479ea01da4975a84c1159;hb=59597d59aa262e31c2e1b7f66b4cb299f88ebd1b;hpb=e3fe983485916e0f3dbae73394f9dd8271623639 diff --git a/src/be/nikiroo/jvcard/resources/StringUtils.java b/src/be/nikiroo/jvcard/resources/StringUtils.java index cee9fb6..e9203d5 100644 --- a/src/be/nikiroo/jvcard/resources/StringUtils.java +++ b/src/be/nikiroo/jvcard/resources/StringUtils.java @@ -194,7 +194,7 @@ public class StringUtils { ByteArrayOutputStream out = new ByteArrayOutputStream(); try { - ImageIO.write(image, "png", out); + ImageIO.write(image, "jpeg", out); byte[] imageBytes = out.toByteArray(); imageString = DatatypeConverter.printBase64Binary(imageBytes);