Browse Source

Set identicons to png

tags/0.7.1
tastytea 7 months 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 @@
cmake_minimum_required (VERSION 3.2)
project(libravatarserv
VERSION 0.7.0
VERSION 0.7.1
LANGUAGES CXX
)


+ 1
- 0
src/libravatarserv.cpp View File

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

Loading…
Cancel
Save