Public bug reported:

If the Pattern is contructed with a BufferedImage instead of an URL the
methods similar, targetOffset and exact does not work since the
Pattern(Pattern p) contructor does not copy the image.

Add:
image = p.image;

in the method.

This is valid for the 0.10.2 version of the jar.

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/944044

Title:
  sikuli-script Pattern.similar does not work with images

Status in Sikuli:
  New

Bug description:
  If the Pattern is contructed with a BufferedImage instead of an URL
  the methods similar, targetOffset and exact does not work since the
  Pattern(Pattern p) contructor does not copy the image.

  Add:
  image = p.image;

  in the method.

  This is valid for the 0.10.2 version of the jar.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/944044/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to