← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #151213]: save captured screen or image on hard disk

 

Question #151213 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/151213

vishal bhat posted a new comment:
BufferedImage bf =  s2.capture().getImage();
File file1 = new File(imagePath+"/destFile.png");
ImageIO.write(bf, "png", file1);

import java.io.File;

This solved my problem

Thanks for all the pointers

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.