note PNG XMP support in docs

This commit is contained in:
John Cupitt 2019-06-13 09:26:09 +01:00
parent 37a3a6322c
commit db36e19ffa
2 changed files with 5 additions and 1 deletions

View File

@ -250,7 +250,8 @@ vips_foreign_load_png_buffer_init( VipsForeignLoadPngBuffer *buffer )
* Read a PNG file into a VIPS image. It can read all png images, including 8-
* and 16-bit images, 1 and 3 channel, with and without an alpha channel.
*
* Any ICC profile is read and attached to the VIPS image.
* Any ICC profile is read and attached to the VIPS image. It also supports
* XMP metadata.
*
* See also: vips_image_new_from_file().
*

View File

@ -352,6 +352,9 @@ vips_foreign_save_png_buffer_init( VipsForeignSavePngBuffer *buffer )
* @dither controls the amount of Floyd-Steinberg dithering.
* This feature requires libvips to be compiled with libimagequant.
*
* XMP metadata is written to the XMP chunk. PNG comments are written to
* separate text chunks.
*
* See also: vips_image_new_from_file().
*
* Returns: 0 on success, -1 on error.