← Back to team overview

sikuli-driver team mailing list archive

[Bug 944044] [NEW] sikuli-script Pattern.similar does not work with images

 

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


Follow ups

References