sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #26697
Re: [Question #250653]: Sikuli and Vector Images --- does not matter - only pixels are relevant
Question #250653 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/250653
RaiMan requested more information:
There is another feature, that I have already planned: image groups
So in your case it might be possible to say, all images that have to be
resized belong to an image group named images1.
g1 = new ImageGroup("images1", <path to folder containing the images>)
g1.resize(factor) or g1.width(newWidth); // to be implemented according to the mentioned Pattern feature
// so every image in that group will be processed before used in a search
reg.find("images1/some_image");
This image group feature is mainly targeted to the cases, where you need
different images for different system/browser/application environments.
So you might collect these images in different folders and decide at
runtime, which folder to use, by defining the group before accordingly.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.