[Sikuli-driver] [Question #703779]: Unable to use png's with transparency in virtualbox

2022-11-09 Thread japie krekel
New question #703779 on SikuliX:
https://answers.launchpad.net/sikuli/+question/703779

So i'm trying to use SikulixIDE 2.0.5 to automate boring and repetitive tasks 
in a game, in a small virtualbox window to save on system resources and to be 
able to use my pc whilst the program is running.  The original script that i'm 
trying to downscale the images for works as desired on my pc, however (since 
want to check if the image is recognised on the device i will be using it on 
i'm also writing it inside of VirtualBox) when i declare any imported png image 
in VirtualBox and then click on it, and then click on Matching Preview, the 
Pattern Settings window freezes for a moment whereafter i receive the following 
error in the message box;

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: 
Color parameter outside of expected range: Alpha
at java.awt.Color.testColorValueRange(Unknown Source)
at java.awt.Color.(Unknown Source)
at 
org.sikuli.ide.PatternSimilaritySlider.getScoreColor(PatternSimilaritySlider.java:59)
at 
org.sikuli.ide.PatternPaneScreenshot.paintMatches(PatternPaneScreenshot.java:298)
at 
org.sikuli.ide.PatternPaneScreenshot.paintComponent(PatternPaneScreenshot.java:276)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown
 Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown 
Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager$4.run(Unknown Source)
at javax.swing.RepaintManager$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
 Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.access$1200(Unknown Source)
at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.d
ispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
 Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

This error only occurs after clicking Matching Preview, and the window 
behind/under SikulixIDE is said game, and thus also the canvas to match preview 
on,  not when it's the desktop or browser, but if i check match preview on 
desktop and then match preview on the game again i will still receive an error 
every time even if i try to match preview on the desktop or anything else, 
reimporting the image seems to "reset" this and then i'm able preview on the 
desktop/browser without getting an error, which isn't what im wanting but it's 
something. I've searched the internet for hours but been unable to find 
anything on the issue where i would usually at least find someone with a 
related or similar problem, and im also relatively unexperienced and 
unaccustomed to scripting so i was hoping a master of the arts would be able to 
recognise the problem i'm having here. i mean obviously its the transparency of 
the image even though i'm not using images with shades of alpha in them, only 0 
or max. 
 But i have no clue why the program works flawlessly on my pc but is giving me 
the error on virtualbox

-- 
You received this question 

Re: [Sikuli-driver] [Question #235635]: Improvement in OCR recognition with small images

2022-11-09 Thread jdf dg
Question #235635 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/235635

jdf dg posted a new comment:
Here the section-area integrator will now not be optimised for the 
slender-width and you'll not have cut on the invariant mass.
Now you are acting a diagram filtering that want to be justified (as requested 
above) and the typical justification will now not be running. See more detail 
here https://www.impactcosmetic.com/dermal-fillers/

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

___
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


[Sikuli-driver] [Bug 1996099] [NEW] targetOffset is stripped by IDE when using variables for x and y

2022-11-09 Thread Roger F Borrello Jr
Public bug reported:

Using: sikulixide-2.0.5.jar
OS: Linux (does *not* happen on Windows)
When I utilize variables to store x/y in targetOffset(x,y) such as:
x = 10
y = 130
click(Pattern("the_image.png").targetOffset(x,y))

If I toggle the thumbnail setting on and off, this is stripped down to:
x = 10
y = 130
click("the_image.png")

In More Options, ImageThumbs are OFF. It does not happen when they are
ON.

** Affects: sikuli
 Importance: Undecided
 Status: New

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

Title:
  targetOffset is stripped by IDE when using variables for x and y

Status in SikuliX:
  New

Bug description:
  Using: sikulixide-2.0.5.jar
  OS: Linux (does *not* happen on Windows)
  When I utilize variables to store x/y in targetOffset(x,y) such as:
  x = 10
  y = 130
  click(Pattern("the_image.png").targetOffset(x,y))

  If I toggle the thumbnail setting on and off, this is stripped down to:
  x = 10
  y = 130
  click("the_image.png")

  In More Options, ImageThumbs are OFF. It does not happen when they are
  ON.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1996099/+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


Re: [Sikuli-driver] [Question #321924]: selenium capture popup window

2022-11-09 Thread Buster Leech
Question #321924 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/321924

Buster Leech posted a new comment:
We specialize in military resume services
(https://militaryresumeservice.com/). Our team includes experienced
writers who are familiar with the unique skills and experiences that
military personnel have. We can help you highlight your achievements and
strengths in a way that attracts the attention of potential employers.

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

___
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