Browse Source

Set identicons to png

tastytea 1 month ago
parent
commit
7e41468176
Signed by: tastytea <tastytea@tastytea.de> GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 1 deletions
  1. 1
    1
      CMakeLists.txt
  2. 1
    0
      src/libravatarserv.cpp

+ 1
- 1
CMakeLists.txt View File

@@ -1,6 +1,6 @@
1 1
 cmake_minimum_required (VERSION 3.2)
2 2
 project(libravatarserv
3
-        VERSION 0.7.0
3
+        VERSION 0.7.1
4 4
         LANGUAGES CXX
5 5
 )
6 6
 

+ 1
- 0
src/libravatarserv.cpp View File

@@ -125,6 +125,7 @@ int main()
125 125
                             });
126 126
                 Magick::Image img;
127 127
                 img = identicon.generate(avatar.digest, avatar.size);
128
+                img.magick("PNG");
128 129
                 image::Image image({ 0, img });
129 130
                 image::write(image);
130 131
             }

Loading…
Cancel
Save