This commit is contained in:
John Cupitt 2012-03-02 10:16:58 +00:00
parent 59c655683a
commit 792ff7f03d
2 changed files with 30 additions and 3 deletions

19
TODO
View File

@ -1,6 +1,25 @@
blocking bugs
=============
- im_copy_set is broken?
$ vips im_copy_set babe.jpg x.v 22 2.83 2.83 100 100
$ header -a x.v
x.v: 1024x768 uchar, 3 bands, srgb VipsImage (0x14e8000)
interpretation: 22 - srgb
xoffset: 0
yoffset: 0
xres: 0.000000
yres: 0.000000
xres/yres need to become double (they are float atm)
the compat stuff and the wrappers in header.c need revising
- turning on all debug in object.c causes huge mem use?
- none!

View File

@ -271,12 +271,20 @@ vips_copy_build( VipsObject *object )
GType type = G_PARAM_SPEC_VALUE_TYPE( pspec );
GValue value = { 0, };
VIPS_DEBUG_MSG( "vips_copy_build: assigning %s\n",
name );
g_value_init( &value, type );
g_object_get_property( G_OBJECT( object ),
name, &value );
#ifdef VIPS_DEBUG
{
char *str;
str = g_strdup_value_contents( &value );
printf( "vips_copy_build: %s = %s\n", name, str );
g_free( str );
}
#endif /* VIPS_DEBUG */
g_object_set_property( G_OBJECT( conversion->out ),
name, &value );
g_value_unset( &value );