Skip to content
Snippets Groups Projects
Commit 012bf13e authored by Jan Sladek's avatar Jan Sladek
Browse files

Dennis reported a bug, where the thumbnails hadn't the right color. Fixed this bug.

parent 224b5366
No related merge requests found
...@@ -175,7 +175,7 @@ public class ImageUtils { ...@@ -175,7 +175,7 @@ public class ImageUtils {
final String[] imgInfo = extractImageInfo(originalImageString); final String[] imgInfo = extractImageInfo(originalImageString);
// imgInfo isn't null and contains two fields, this is checked by "isBase64EncodedImage"-Method // imgInfo isn't null and contains two fields, this is checked by "isBase64EncodedImage"-Method
final String extension = "png"; final String extension = imgInfo[0];
final String base64String = imgInfo[1]; final String base64String = imgInfo[1];
byte[] imageData = Base64.decodeBase64(base64String); byte[] imageData = Base64.decodeBase64(base64String);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment