NAME
Graphics::ColorPicker : A perl module for WYSIWYG web
applications that allow selection of HEX color numbers
SYNOPSIS
use Graphics::ColorPicker;
or
require Graphics::ColorPicker;
make_page($path_to_images);
DESCRIPTION
This module generates a set of palettes to select a HEX or DECIMAL color
number via a web browser. make_page() can be called by "javascript" from
your web page and will set the HEX value in a variable in the calling
page and scope. The selector page can be created for 24 million or web
safe colors only.
See B and B
Read INSTALL
make_page($path_to_images);
Generate Color Picker Pages
This is the only routine that really needs to be called
externally. You could roll your own from the other functions
described in the man page, but it's really not necessary.
i.e. Graphics::ColorPicker::make_page('./');
will generate the picker pages as required
AUTHOR
Michael Robinton, michael@bizsystems.com
COPYRIGHT and LICENSE
Copyright 2002 Michael Robinton, BizSystems.
This module is free software; you can redistribute it and/or modify it
under the terms of either:
a) the GNU General Public License as published by the Free Software
Foundation; either version 1, or (at your option) any later version,
or
b) the "Artistic License" which comes with this module.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU
General Public License or the Artistic License for more details.
You should have received a copy of the Artistic License with this
module, in the file ARTISTIC. If not, I'll be glad to provide one.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA