revise tiff load/save doc comments

This commit is contained in:
John Cupitt 2020-01-29 18:26:16 +00:00
parent 81fa983121
commit 979422886b
2 changed files with 6 additions and 2 deletions

View File

@ -456,8 +456,8 @@ vips_foreign_load_tiff_buffer_init( VipsForeignLoadTiffBuffer *buffer )
* during load * during load
* *
* Read a TIFF file into a VIPS image. It is a full baseline TIFF 6 reader, * Read a TIFF file into a VIPS image. It is a full baseline TIFF 6 reader,
* with extensions for tiled images, multipage images, LAB colour space, * with extensions for tiled images, multipage images, XYZ and LAB colour
* pyramidal images and JPEG compression. including CMYK and YCbCr. * space, pyramidal images and JPEG compression, including CMYK and YCbCr.
* *
* @page means load this page from the file. By default the first page (page * @page means load this page from the file. By default the first page (page
* 0) is read. * 0) is read.

View File

@ -551,6 +551,10 @@ vips_foreign_save_tiff_buffer_init( VipsForeignSaveTiffBuffer *buffer )
* good for 1-bit images, and deflate is the best lossless compression TIFF * good for 1-bit images, and deflate is the best lossless compression TIFF
* can do. * can do.
* *
* XYZ images are automatically saved as libtiff LOGLUV with SGILOG compression.
* Float LAB images are saved as float CIELAB. Set @squash to save as 8-bit
* CIELAB.
*
* Use @Q to set the JPEG compression factor. Default 75. * Use @Q to set the JPEG compression factor. Default 75.
* *
* User @level to set the ZSTD compression level. Use @lossless to * User @level to set the ZSTD compression level. Use @lossless to