-- Addon: Harmonious Color v1.1 --

Description:
	
	This pixelpost addon analyses the image displayed in your image_template.html for example. 
	It will select the color with the Hue value that occurs the most in the image.
	The output will be 3 hex color values, a "dark" one for big background areas, a "normal" color for smaller areas and a "bright" color for fonts.
	If you don't like the automatically picked colors, just go into the admin panel and look in the "edit" tab of the corresponding image.
	Here you can modify the 3 colors to your needs.


Requirements:

	1.) Pixelpost 1.5 or later

	2.) This plugin expects that the image folder is "/images" (pixelpost default setting)


Installation:

	1.) Extract the file "admin_harmonious.php" into the "/addons" folder of your pixelpost installation.
	
	2.) Create a folder "/cache" in your pixelpost base directory (its the same place with the other pixelpost folders "addons", "admin", "includes", ...)
	
	3.) CHMOD the folder "/cache" to "777" for write access


Usage:

	The following tags can be used within your pixelpost template:

		/* these tags give you a hex color value beginning with # (for example #ffffff)*/
		<HARMONIOUS_DARK>
		<HARMONIOUS_NORMAL>
		<HARMONIOUS_BRIGHT>

		/* these tags give you a hex color value without # in the first place (for example ffffff)*/
		<HARMONIOUS_DARK_CLEAN>
		<HARMONIOUS_NORMAL_CLEAN>
		<HARMONIOUS_BRIGHT_CLEAN>

User-Modifications of the "admin_harmonious.php":

	1.) Lines 251 to 269 define the brightness[1] and saturation[2] levels for the 3 output colors.


For users of the old admin panel modification from v1.0:

	Just delete the modified "images_edit.php" in the "/admin" folder and revert your old "images_edit.phpold" to "images_edit.php".
	Delete the old "harmonious.php" in the "/addons" folder.
	

For questions and suggestions email to: 			harmonious(at)tomyeah.com

*** Version History ***

	1.1	Merged admin addon and the normal addon together into one file
	1.0	First release.