summaryrefslogtreecommitdiffstats
path: root/cqrlogo.c
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-05-29 22:38:25 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-05-29 22:38:25 +0200
commit6d72684048fb0d1e70fdb8a48b9062eb4b713d18 (patch)
treedd68d2365289fb67615582a3f0632772e077e4bd /cqrlogo.c
parent6d676d46241b5070b71a07edd61f7cd07cf1c044 (diff)
downloadcqrlogo-6d72684048fb0d1e70fdb8a48b9062eb4b713d18.tar.gz
cqrlogo-6d72684048fb0d1e70fdb8a48b9062eb4b713d18.tar.zst
add comment to png file0.1.2
Diffstat (limited to 'cqrlogo.c')
-rw-r--r--cqrlogo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cqrlogo.c b/cqrlogo.c
index 1e51bfc..45c006d 100644
--- a/cqrlogo.c
+++ b/cqrlogo.c
@@ -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)