File tree 1 file changed +18
-0
lines changed 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,24 @@ const char *Py_write_png__doc__ =
114
114
" If not provided, libpng will try to automatically determine the\n "
115
115
" best filter on a line-by-line basis.\n "
116
116
" \n "
117
+ " metadata : dictionary\n "
118
+ " The keyword-text pairs that are stored as comments in the image.\n "
119
+ " Keys must be shorter than 79 chars. The only supported encoding\n "
120
+ " for both keywords and values is Latin-1 (ISO 8859-1).\n "
121
+ " Examples given in the PNG Specification are:\n "
122
+ " - Title: Short (one line) title or caption for image\n "
123
+ " - Author: Name of image's creator\n "
124
+ " - Description: Description of image (possibly long)\n "
125
+ " - Copyright: Copyright notice\n "
126
+ " - Creation Time: Time of original image creation\n "
127
+ " (usually RFC 1123 format, see below)\n "
128
+ " - Software: Software used to create the image\n "
129
+ " - Disclaimer: Legal disclaimer\n "
130
+ " - Warning: Warning of nature of content\n "
131
+ " - Source: Device used to create the image\n "
132
+ " - Comment: Miscellaneous comment; conversion\n "
133
+ " from other image format\n "
134
+ " \n "
117
135
" Returns\n "
118
136
" -------\n "
119
137
" buffer : bytes or None\n "
You can’t perform that action at this time.
0 commit comments