Sal Zhong (仲伟祥)

NAME

XUL::Image - Converting XUL slides to Images

DESCRIPTION

        use XUL::Image;

        $obj = XUL::Image->new(count => 32);
        
        $obj->go;

METHODS

new(%option)

  • 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

go()

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.

SEE ALSO

XUL::Image::PPT

AUTHOR

Sal Zhong <zhongxiang721@gmail.com>

COPYRIGHT

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.