libvips/python/try3.py
John Cupitt 6ba96b2333 fix hist normalisation
hist norm was broken due to the VipsStats width change
2012-02-28 12:05:25 +00:00

13 lines
170 B
Python
Executable File

#!/usr/bin/python
import sys
from vips8 import vips
from gi.repository import Vips
Vips.cache_set_trace(True)
a = vips.Image(sys.argv[1])
print a.max()
print a.max()