seafight17 Posted April 18, 2012 Share Posted April 18, 2012 hallo everyone 1)Does enyone know if there is a program like scar divi which will work on linux ? 2) How can i make a sripts faster? i mean if i keep just the nessecery procedures/functions how can i make it even faster?(pc is quiet good dualcore 2 gbram) 3) the function >>FindBitmapMaskTolerance(mask: Integer; var x, y: Integer; x1, y1, x2, y2: Integer; Tolerance, ContourTolerance: Integer): Boolean it searsh for a MASK but the mask is one white,black if the bmp that i take is for exaplem in red color what i should put on ContourTolerance ? (Loadbmp is of corse used earlyer) thanks Quote Link to comment Share on other sites More sharing options...
FHannes Posted April 20, 2012 Share Posted April 20, 2012 There's no alternative for Linux. As for mask searching, it doesn't search for a color, you enter a black and white mask, it will find a matching pattern with all colors within the given Tolerance of each other and all of the outlying colors within contourtolerance if i remember correctly. Quote Link to comment Share on other sites More sharing options...
seafight17 Posted April 20, 2012 Author Share Posted April 20, 2012 thanks freedy Quote Link to comment Share on other sites More sharing options...
FHannes Posted April 20, 2012 Share Posted April 20, 2012 On the note of making scripts faster, the code in scripts if limited in speed because of the script engine, try to use as much of the functions provided by SCAR itself, rather than writing functions that do the same thing inside of scripts. Quote Link to comment Share on other sites More sharing options...