diff --git a/example/example.gif b/example/example.gif new file mode 100644 index 0000000..7e36afa Binary files /dev/null and b/example/example.gif differ diff --git a/example/example.jpg b/example/example.jpg new file mode 100644 index 0000000..a0da8c7 Binary files /dev/null and b/example/example.jpg differ diff --git a/example/example.php b/example/example.php new file mode 100644 index 0000000..7acd65d --- /dev/null +++ b/example/example.php @@ -0,0 +1,46 @@ +Full process (creates palette, saves to same dir as palette.php)\n"; +foreach ($testimages_full_process as $image) { + + // Initiation with image triggers Palette::run() + $test = new \ivuorinen\Palette\Palette($image); + + echo "
"
+ . "Processing {$test->filename}\n"
+ . print_r($test->colorsArray, true)
+ . "\n";
+}
+
+echo ""
+ . "Processing {$test->filename}\n"
+ . print_r($colors, true)
+ . "\n";
+
+}
diff --git a/example/example.png b/example/example.png
new file mode 100644
index 0000000..2fa5a23
Binary files /dev/null and b/example/example.png differ