add notes to logs for @density
This commit is contained in:
parent
31d3f714ca
commit
76653e9e78
@ -5,6 +5,7 @@
|
||||
- changed vips_gaussblur() parameters, sorry
|
||||
- add .szi as a dzsave zip synonym
|
||||
- support tiff XMP metadata
|
||||
- support @density arg to magickload [Lovell]
|
||||
|
||||
25/7/14 started 7.41.0
|
||||
- start working on --disable-deprecated
|
||||
|
@ -1646,7 +1646,7 @@ vips_foreign_operation_init( void )
|
||||
* Normally it will only load the first image in a many-image sequence (such
|
||||
* as a GIF). Set @all_frames to true to read the whole image sequence.
|
||||
*
|
||||
* @density is "WxH" in DPI, e.g. "600x300" or "600" (default is "72x72")
|
||||
* @density is "WxH" in DPI, e.g. "600x300" or "600" (default is "72x72"). See
|
||||
* http://www.imagemagick.org/script/command-line-options.php#density
|
||||
*
|
||||
* See also: vips_image_new_from_file().
|
||||
|
@ -36,9 +36,9 @@ extern "C" {
|
||||
#endif /*__cplusplus*/
|
||||
|
||||
int vips__magick_read( const char *filename,
|
||||
VipsImage *out, gboolean all_frames, const char* density );
|
||||
VipsImage *out, gboolean all_frames, const char *density );
|
||||
int vips__magick_read_header( const char *filename,
|
||||
VipsImage *out, gboolean all_frames, const char* density );
|
||||
VipsImage *out, gboolean all_frames, const char *density );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -40,6 +40,8 @@
|
||||
* - turn into a set of read fns ready to be called from a class
|
||||
* 11/6/13
|
||||
* - add @all_frames option, off by default
|
||||
* 4/12/14 Lovell
|
||||
* - add @density option
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -142,7 +144,7 @@ read_destroy( VipsImage *im, Read *read )
|
||||
|
||||
static Read *
|
||||
read_new( const char *filename, VipsImage *im, gboolean all_frames,
|
||||
const char* density )
|
||||
const char *density )
|
||||
{
|
||||
Read *read;
|
||||
static int inited = 0;
|
||||
@ -176,7 +178,7 @@ read_new( const char *filename, VipsImage *im, gboolean all_frames,
|
||||
|
||||
vips_strncpy( read->image_info->filename, filename, MaxTextExtent );
|
||||
|
||||
/* Canvas resolution for rendering vector formats like SVG
|
||||
/* Canvas resolution for rendering vector formats like SVG.
|
||||
*/
|
||||
VIPS_SETSTR( read->image_info->density, density );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user