14 lines
280 B
Python
14 lines
280 B
Python
scale_min=100
|
|
scale_max=150
|
|
colormap = Colormap.Temperature #Colormap.Grayscale
|
|
|
|
|
|
while(True):
|
|
try:
|
|
i=image.data.toBufferedImage(scale_min, scale_max, colormap, False)
|
|
show_panel(i)
|
|
except:
|
|
print sys.exc_info()[2]
|
|
break
|
|
time.sleep(1.0)
|
|
|