diff options
author | Christian Hesse <mail@eworm.de> | 2013-05-29 22:38:25 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-05-29 22:38:25 +0200 |
commit | 6d72684048fb0d1e70fdb8a48b9062eb4b713d18 (patch) | |
tree | dd68d2365289fb67615582a3f0632772e077e4bd /cqrlogo.c | |
parent | 6d676d46241b5070b71a07edd61f7cd07cf1c044 (diff) | |
download | cqrlogo-6d72684048fb0d1e70fdb8a48b9062eb4b713d18.tar.gz cqrlogo-6d72684048fb0d1e70fdb8a48b9062eb4b713d18.tar.zst |
add comment to png file0.1.2
Diffstat (limited to 'cqrlogo.c')
-rw-r--r-- | cqrlogo.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -105,7 +105,8 @@ int main(int argc, char **argv) { printf("Content-Type: image/png\n\n"); /* print PNG data */ - gdk_pixbuf_save_to_buffer (pixbuf, &buffer, &size, "png", NULL, NULL); + gdk_pixbuf_save_to_buffer (pixbuf, &buffer, &size, "png", NULL, + "tEXt::comment", "QR-Code created by cqrlogo - https://github.com/eworm-de/cqrlogo", NULL); fwrite (buffer, 1, size, stdout); if (rc) |