New question #273792 on Sikuli:
https://answers.launchpad.net/sikuli/+question/273792

I've tried the following code from your suggestion in another OCR question

img = capture(SCREEN) # get the image from the screen (in memory)
img1 = Image.create(img) # create an with the new Image class (still in memory)
imgGrey = img1.convertImageToGrayscale(img1.get()) # does what it says (still 
in memory)
imgGreyResized = imgGrey.resize(3) # resize the image to about 300dpi (usually 
3 as factor is sufficient) (still in memory)

got this error...

[error] AttributeError ( 'java.awt.image.BufferedImage' object has no attribute 
'resize' )

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to