New ScreenPanel
This commit is contained in:
25
script/image12.py
Executable file
25
script/image12.py
Executable file
@@ -0,0 +1,25 @@
|
||||
run("pip")
|
||||
|
||||
orig = load_image("{data}/img/img2.png")
|
||||
orig = resize(orig, 300,200)
|
||||
grayscale(orig)
|
||||
images=[]
|
||||
|
||||
for i in range (20):
|
||||
images.append(orig.duplicate())
|
||||
op_const(orig, "multiply", 0.9)
|
||||
|
||||
|
||||
stack=create_stack(images)
|
||||
stack.show()
|
||||
|
||||
r1 = reslice(stack, start_at="Left")
|
||||
r2 = reslice(stack, start_at="Top")
|
||||
r1.show()
|
||||
r2.show()
|
||||
|
||||
|
||||
#x=new_image(800, 600, image_type="byte")
|
||||
#copy_image_to(orig, x, 100, 200)
|
||||
#x.show()
|
||||
|
||||
Reference in New Issue
Block a user