doc strings for jpegsave

add docs for no_subsample
This commit is contained in:
John Cupitt 2013-11-13 13:17:03 +00:00
parent c1e7bbab29
commit 941982786f
1 changed files with 6 additions and 0 deletions

View File

@ -2002,6 +2002,7 @@ vips_jpegload( const char *filename, VipsImage **out, ... )
* @optimize_coding: compute optimal Huffman coding tables * @optimize_coding: compute optimal Huffman coding tables
* @interlace: write an interlaced (progressive) jpeg * @interlace: write an interlaced (progressive) jpeg
* @strip: remove all metadata from image * @strip: remove all metadata from image
* @no-subsample: disable chroma subsampling
* *
* Write a VIPS image to a file as JPEG. * Write a VIPS image to a file as JPEG.
* *
@ -2036,6 +2037,9 @@ vips_jpegload( const char *filename, VipsImage **out, ... )
* If @strip is set, no EXIF data, IPCT data, ICC profile or XMP metadata is * If @strip is set, no EXIF data, IPCT data, ICC profile or XMP metadata is
* written into the output file. * written into the output file.
* *
* If @no-subsample is set, chrominance subsampling is disabled. This will
* improve quality at the cost of larger file size. Useful for high Q factors.
*
* See also: vips_jpegsave_buffer(), vips_image_write_file(). * See also: vips_jpegsave_buffer(), vips_image_write_file().
* *
* Returns: 0 on success, -1 on error. * Returns: 0 on success, -1 on error.
@ -2067,6 +2071,7 @@ vips_jpegsave( VipsImage *in, const char *filename, ... )
* @optimize_coding: compute optimal Huffman coding tables * @optimize_coding: compute optimal Huffman coding tables
* @interlace: write an interlaced (progressive) jpeg * @interlace: write an interlaced (progressive) jpeg
* @strip: remove all metadata from image * @strip: remove all metadata from image
* @no-subsample: disable chroma subsampling
* *
* As vips_jpegsave(), but save to a memory buffer. * As vips_jpegsave(), but save to a memory buffer.
* *
@ -2117,6 +2122,7 @@ vips_jpegsave_buffer( VipsImage *in, void **buf, size_t *len, ... )
* @profile: attach this ICC profile * @profile: attach this ICC profile
* @optimize_coding: compute optimal Huffman coding tables * @optimize_coding: compute optimal Huffman coding tables
* @strip: remove all metadata from image * @strip: remove all metadata from image
* @no-subsample: disable chroma subsampling
* *
* As vips_jpegsave(), but save as a mime jpeg on stdout. * As vips_jpegsave(), but save as a mime jpeg on stdout.
* *