rookandpawn
1st May 2009, 06:56
(edited to improve readibility)
image1 = ImageSource("foo.png").Trim(0,-1)
image2 = ImageSource("bar.jpg").Trim(0,-1)
ImageWriter(image1,"D:\cat",0,0,"png")
ImageWriter(image2, "D:\dog", 0,0, "png")
The first call to ImageWriter never hits the disk to write it out...
Only the second. How can i achieve multiple calls to ImageWriter?
I think i may be misunderstanding the script execution model.. or something about ImageWriter... Basically I want to be able to call ImageWriter twice in the same script, each on separate files that are of different sizes.. But there is something that isnt letting ImageWriter "run twice"?
image1 = ImageSource("foo.png").Trim(0,-1)
image2 = ImageSource("bar.jpg").Trim(0,-1)
ImageWriter(image1,"D:\cat",0,0,"png")
ImageWriter(image2, "D:\dog", 0,0, "png")
The first call to ImageWriter never hits the disk to write it out...
Only the second. How can i achieve multiple calls to ImageWriter?
I think i may be misunderstanding the script execution model.. or something about ImageWriter... Basically I want to be able to call ImageWriter twice in the same script, each on separate files that are of different sizes.. But there is something that isnt letting ImageWriter "run twice"?