note py problem
This commit is contained in:
parent
f3326c8126
commit
d56cd4dcb2
6
TODO
6
TODO
@ -1,3 +1,9 @@
|
|||||||
|
- python can't set new metadata, it can only set existing metadata
|
||||||
|
|
||||||
|
im.set_value("banana", 12)
|
||||||
|
|
||||||
|
will fail as Vips.py tries to look up the type of "banana"
|
||||||
|
|
||||||
- add more webp tests to py suite
|
- add more webp tests to py suite
|
||||||
|
|
||||||
- try moving some more of the CLI tests to py
|
- try moving some more of the CLI tests to py
|
||||||
|
@ -869,8 +869,8 @@ class Image(Vips.Image):
|
|||||||
For example, bytes() can be used to set VipsBlob fields.
|
For example, bytes() can be used to set VipsBlob fields.
|
||||||
"""
|
"""
|
||||||
gtype = self.get_typeof(field)
|
gtype = self.get_typeof(field)
|
||||||
logger.debug('assigning %s to %s' % (value, self))
|
logger.debug('%s.%s = %s' % (self, field, value))
|
||||||
logger.debug('%s needs a %s' % (self, gtype))
|
logger.debug('%s.%s needs a %s' % (self, field, gtype))
|
||||||
|
|
||||||
# blob-ize
|
# blob-ize
|
||||||
if GObject.type_is_a(gtype, vips_type_blob):
|
if GObject.type_is_a(gtype, vips_type_blob):
|
||||||
|
Loading…
Reference in New Issue
Block a user