libvips/python/try9.py

13 lines
178 B
Python
Raw Normal View History

2014-09-06 00:18:16 +02:00
#!/usr/bin/python
import sys
2014-09-07 10:36:34 +02:00
import logging
logging.basicConfig(level = logging.DEBUG)
2014-09-06 00:18:16 +02:00
from gi.repository import Vips
2014-09-07 10:36:34 +02:00
2014-09-06 00:18:16 +02:00
a = Vips.Image.black(100, 100)
2014-09-07 10:36:34 +02:00
a.write_to_file("x.v")