add changelog notes

and small formatting issues
This commit is contained in:
John Cupitt 2019-01-15 09:36:31 +00:00
parent 39d17f6249
commit 00982f6297
3 changed files with 14 additions and 3 deletions

View File

@ -17,6 +17,8 @@
- add vips_CMYK2XYZ() and vips_XYZ2CMYK(), plus associated routes
- include cmyk and srgb fallback profiles
- add vips_profile_load() and use it everywhere
- fix race in temp filename creation [lhecker]
- add @reduction_effort param to webpsave [lovell]
4/1/19 started 8.7.4
- fix memory leak in magickload [kleisauke]

View File

@ -2,6 +2,10 @@
*
* 24/11/11
* - wrap a class around the webp writer
* 29/10/18
* - add animated webp support
* 15/1/19 lovell
* - add @reduction_effort
*/
/*
@ -441,9 +445,12 @@ vips_foreign_save_webp_mime_init( VipsForeignSaveWebpMime *mime )
*
* Use @preset to hint the image type to the lossy compressor. The default is
* #VIPS_FOREIGN_WEBP_PRESET_DEFAULT.
*
* Set @smart_subsample to enable high quality chroma subsampling.
*
* Use @alpha_q to set the quality for the alpha channel in lossy mode. It has
* the range 1 - 100, with the default 100.
*
* Use @reduction_effort to control how much CPU time to spend attempting to
* reduce file size. A higher value means more effort and therefore CPU time
* should be spent. It has the range 0-6 and a default value of 4.

View File

@ -1696,7 +1696,8 @@ vips_image_new( void )
char filename[26];
vips_check_init();
vips_image_temp_name( filename, sizeof(filename) );
vips_image_temp_name( filename, sizeof( filename ) );
image = VIPS_IMAGE( g_object_new( VIPS_TYPE_IMAGE, NULL ) );
g_object_set( image,
@ -1748,7 +1749,8 @@ VipsImage *
vips_image_new_memory( void )
{
char filename[26];
vips_image_temp_name( filename, sizeof(filename) );
vips_image_temp_name( filename, sizeof( filename ) );
return( vips_image_new_mode( filename, "t" ) );
}
@ -2015,7 +2017,7 @@ vips_image_new_from_memory( const void *data, size_t size,
char filename[26];
vips_check_init();
vips_image_temp_name( filename, sizeof(filename) );
vips_image_temp_name( filename, sizeof( filename ) );
image = VIPS_IMAGE( g_object_new( VIPS_TYPE_IMAGE, NULL ) );
g_object_set( image,