revise doc comments

This commit is contained in:
John Cupitt 2021-03-20 12:23:00 +00:00
parent 2575d963bd
commit 28cbdcc65d
2 changed files with 10 additions and 1 deletions

View File

@ -994,7 +994,13 @@ vips_foreign_load_jp2k_source_init(
*
* * @page: %gint, load this page
*
* Read a JPEG2000 image.
* Read a JPEG2000 image. The loader supports 8, 16 and 32-bit int pixel
* values, signed and unsigned.
* It will read any ICC profile on
* the image. It supports greyscale, RGB, CMYK and
* multispectral images.
*
* It will only load images where all channels are the same size and format.
*
* Use @page to set the page to load, where page 0 is the base resolution
* image, and higher-numbered pages are x2 reductions. Use the metadata item

View File

@ -752,6 +752,9 @@ vips_foreign_save_jp2k_target_init( VipsForeignSaveJp2kTarget *target )
* * @tile_height: %gint for tile size
*
* Write a VIPS image to a file in JPEG2000 format.
* The saver supports 8, 16 and 32-bit int pixel
* values, signed and unsigned. It supports greyscale, RGB, CMYK and
* multispectral images.
*
* Use @Q to set the compression quality factor. The default value of 45
* produces file with approximately the same size as regular JPEG Q 75.