[request] Pattern instance from image within a jar or buffered image

Bug #1189442 reported by RaiMan
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
Critical
RaiMan

Bug Description

available now with 1.1.0 2014-09-17+
(classes Image and ImagePath, see java docs)
---------------------------------------------

Hi,

I'd like to instantiate Pattern, but instead of using the path to a standard image file, my image file is stored in a .jar file (which my project has a dependency on)
Is there a way to do this ?

[Context]
I have created a project (P) containing high-level test "steps" that are driven by selenium and sikuli.
Those steps are then called upon by unit test in our main project (A), and also by system test in a QA regression test project (B)
The sikuli captured images are stored in project P.
And are included in P's compiled jar file.

Bevan

Tags: fkt-pattern
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
tags: added: fkt-pattern
RaiMan (raimund-hocke)
Changed in sikuli:
status: In Progress → Fix Committed
RaiMan (raimund-hocke)
description: updated
Changed in sikuli:
importance: High → Critical
Revision history for this message
Sankar (sankar88) wrote :

Sorry, I was just trying to check, whether the fix is available in some beta releases version level. In doing so, accidentaly changed status to Fix released. I'm unable to undo it.

Changed in sikuli:
status: Fix Committed → Fix Released
Revision history for this message
RaiMan (raimund-hocke) wrote :

ok, no problem.

should work with version 1.1.1 (http://sikulix.com)

Changed in sikuli:
status: Fix Released → Fix Committed
milestone: 1.1.0 → 1.1.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.