This commit is contained in:
14
script/test/TestDataToImage.py
Normal file
14
script/test/TestDataToImage.py
Normal file
@@ -0,0 +1,14 @@
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user