XUL::Image - Converting XUL slides to Images
use XUL::Image; $obj = XUL::Image->new(count => 32); $obj->go;
title => $title
This option gives the window title of Mozilla FireFox and 'Mozilla' is default
count => $count
This option gives number of slides to be shooted, which is required
delay => $delay
This option gives the delay between each mechanical operation, and 1 second is default
out_dir => $out_dir
This option gives a directory under which all the intermediate image files will be saved. and 'xul_img' is default
invoke this method to start converting xul slides into images, before excuting make sure xul files has been opened by Mozilla FireFox, not in full screen mode or minimized.
Sal Zhong <email@example.com>
Copyright (c) 2006~2007 Sal Zhong. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as perl itself.