2014-09-05 23:18:16 +01:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
2014-09-07 09:36:34 +01:00
|
|
|
import logging
|
|
|
|
logging.basicConfig(level = logging.DEBUG)
|
2014-09-05 23:18:16 +01:00
|
|
|
|
2016-05-18 13:41:41 +01:00
|
|
|
import gi
|
|
|
|
gi.require_version('Vips', '8.0')
|
2014-09-05 23:18:16 +01:00
|
|
|
from gi.repository import Vips
|
2014-09-07 09:36:34 +01:00
|
|
|
|
2014-09-05 23:18:16 +01:00
|
|
|
a = Vips.Image.black(100, 100)
|
|
|
|
|
2014-09-07 09:36:34 +01:00
|
|
|
a.write_to_file("x.v")
|