User Tools

Site Tools


en:code:core:image

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:code:core:image [2013/06/29 10:41] jmgren:code:core:image [2023/10/09 10:17] (current) jmgr
Line 16: Line 16:
 <code javascript> <code javascript>
 var myObject = new Image(filename); var myObject = new Image(filename);
-</code> 
-<code javascript> 
-var myObject = new Image(x, y); 
 </code> </code>
  
Line 432: Line 429:
 var imageToFind = new Image("object.png"); var imageToFind = new Image("object.png");
  
-var searchResult = screenShot.findSubImage(imageToFind);+var searchResult = screenShot.findSubImages(imageToFind);
 if(searchResult) if(searchResult)
 { {
en/code/core/image.1372502501.txt.gz · Last modified: 2021/02/13 11:23 (external edit)