PKt\JR jwplayer.lessnuW+A.vc_placeholder-jwplayer { &:before { content: ""; display: block; padding-top: 100/16*9%; } width: 100%; background: #2a2a2a url(../vc/3rd-party/jwplayer.png) center center no-repeat; }PKt\;;contact_form_7.lessnuW+A.icon-wpb-contactform7 { background-position: 0 -832px; }PKt\?woocommerce.lessnuW+A.vc-woocommerce-add-to-cart-loading.vc_grid-item-mini { position: relative; .vc_gitem-zone { .opacity(0) !important; -webkit-transform: none !important; -ms-transform: none !important; transform: none !important; .transition(none) !important; } .vc_wc-load-add-to-loader-wrapper { position: absolute; right: 0; top: 50%; margin-top: -50px; left: 0; } .vc_wc-load-add-to-loader { &:before, &:after, & { border-radius: 50%; width: 12px; height: 12px; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation: vc_woo-add-cart-load 1.8s infinite ease-in-out; animation: vc_woo-add-cart-load 1.8s infinite ease-in-out; } & { margin: 2em auto; font-size: 10px; position: relative; text-indent: -9999em; -webkit-animation-delay: 0.16s; animation-delay: 0.16s; height: 50px; } &:before { left: -20px; } &:after { left: 20px; -webkit-animation-delay: 0.32s; animation-delay: 0.32s; } &:before, &:after { content: ''; position: absolute; top: 0; } @-webkit-keyframes vc_woo-add-cart-load { 0%, 80%, 100% { box-shadow: 0 2.5em 0 -1.3em rgba(235, 235, 235, 0.75); } 40% { box-shadow: 0 2.5em 0 0 rgba(235, 235, 235, 0.75); } } @keyframes vc_woo-add-cart-load { 0%, 80%, 100% { box-shadow: 0 2.5em 0 -1.3em rgba(235, 235, 235, 0.75); } 40% { box-shadow: 0 2.5em 0 0 rgba(235, 235, 235, 0.75); } } } } .vc_grid-item-mini { .added_to_cart.wc-forward { display: none; } } PKt\O rev_slider.lessnuW+A/* Revolution Slider ---------------------------------------------------------- */ .icon-wpb-revslider { background-position: 0 -928px; }PKt\ alayerslider.lessnuW+A/* Icons for 3rd party plugins (Visual Composer ready) ---------------------------------------------------------- */ /* Layer Slider ---------------------------------------------------------- */ .icon-wpb-layerslider { background-position: 0 -896px; }PKt\3Ygravity_form.lessnuW+A/* Gravity Forms ---------------------------------------------------------- */ .icon-wpb-vc_gravityform { background-position: 0 -864px; }PKK\BB$mmihey/PHP-Instagram-effects/LICENCEnuW+AThe MIT License Copyright (c) 2013 Google, Inc. http://zaachi.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.PKK\&mmihey/PHP-Instagram-effects/README.mdnuW+APHP-Instagram-effects ===================== PHP class for photo effects similar to Instagram ## Usage ```php require 'src/Image/Filter.php'; $image = imagecreatefromjpeg("/path/to/image.jpg"); $filter = (new vcImageFilter($image))->aqua(); header('Content-type: image/jpeg'); imagejpeg($filter->getImage()); ``` Examples of usage are in the `examples` directory. To generate example images, this bash snippet may be helpful: ```shell for f in *.php; do php $f > ${f%.php}.png; done ``` PKK\u1mmihey/PHP-Instagram-effects/src/Image/Filter.phpnuW+Aimage = $image; } /** * Get the current image resource * * @return resource */ public function getImage() { return $this->image; } public function sepia() { imagefilter( $this->image, IMG_FILTER_GRAYSCALE ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 100, 50, 0 ); return $this; } public function sepia2() { imagefilter( $this->image, IMG_FILTER_GRAYSCALE ); imagefilter( $this->image, IMG_FILTER_BRIGHTNESS, - 10 ); imagefilter( $this->image, IMG_FILTER_CONTRAST, - 20 ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 60, 30, - 15 ); return $this; } public function sharpen() { $gaussian = array( array( 1.0, 1.0, 1.0 ), array( 1.0, - 7.0, 1.0 ), array( 1.0, 1.0, 1.0 ) ); imageconvolution( $this->image, $gaussian, 1, 4 ); return $this; } public function emboss() { $gaussian = array( array( - 2.0, - 1.0, 0.0 ), array( - 1.0, 1.0, 1.0 ), array( 0.0, 1.0, 2.0 ) ); imageconvolution( $this->image, $gaussian, 1, 5 ); return $this; } public function cool() { imagefilter( $this->image, IMG_FILTER_MEAN_REMOVAL ); imagefilter( $this->image, IMG_FILTER_CONTRAST, - 50 ); return $this; } public function light() { imagefilter( $this->image, IMG_FILTER_BRIGHTNESS, 10 ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 100, 50, 0, 10 ); return $this; } public function aqua() { imagefilter( $this->image, IMG_FILTER_COLORIZE, 0, 70, 0, 30 ); return $this; } public function fuzzy() { $gaussian = array( array( 1.0, 1.0, 1.0 ), array( 1.0, 1.0, 1.0 ), array( 1.0, 1.0, 1.0 ) ); imageconvolution( $this->image, $gaussian, 9, 20 ); return $this; } public function boost() { imagefilter( $this->image, IMG_FILTER_CONTRAST, - 35 ); imagefilter( $this->image, IMG_FILTER_BRIGHTNESS, 10 ); return $this; } public function gray() { imagefilter( $this->image, IMG_FILTER_CONTRAST, - 60 ); imagefilter( $this->image, IMG_FILTER_GRAYSCALE ); return $this; } public function antique() { imagefilter( $this->image, IMG_FILTER_BRIGHTNESS, 0 ); imagefilter( $this->image, IMG_FILTER_CONTRAST, - 30 ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 75, 50, 25 ); return $this; } public function blackwhite() { imagefilter( $this->image, IMG_FILTER_GRAYSCALE ); imagefilter( $this->image, IMG_FILTER_BRIGHTNESS, 10 ); imagefilter( $this->image, IMG_FILTER_CONTRAST, - 20 ); return $this; } public function boost2() { imagefilter( $this->image, IMG_FILTER_CONTRAST, - 35 ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 25, 25, 25 ); return $this; } public function blur() { imagefilter( $this->image, IMG_FILTER_SELECTIVE_BLUR ); imagefilter( $this->image, IMG_FILTER_GAUSSIAN_BLUR ); imagefilter( $this->image, IMG_FILTER_CONTRAST, - 15 ); imagefilter( $this->image, IMG_FILTER_SMOOTH, - 2 ); return $this; } public function vintage() { imagefilter( $this->image, IMG_FILTER_BRIGHTNESS, 10 ); imagefilter( $this->image, IMG_FILTER_GRAYSCALE ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 40, 10, - 15 ); return $this; } public function concentrate() { imagefilter( $this->image, IMG_FILTER_GAUSSIAN_BLUR ); imagefilter( $this->image, IMG_FILTER_SMOOTH, - 10 ); return $this; } public function hermajesty() { imagefilter( $this->image, IMG_FILTER_BRIGHTNESS, - 10 ); imagefilter( $this->image, IMG_FILTER_CONTRAST, - 5 ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 80, 0, 60 ); return $this; } public function everglow() { imagefilter( $this->image, IMG_FILTER_BRIGHTNESS, - 30 ); imagefilter( $this->image, IMG_FILTER_CONTRAST, - 5 ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 30, 30, 0 ); return $this; } public function freshblue() { imagefilter( $this->image, IMG_FILTER_CONTRAST, - 5 ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 20, 0, 80, 60 ); return $this; } public function tender() { imagefilter( $this->image, IMG_FILTER_CONTRAST, 5 ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 80, 20, 40, 50 ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 0, 40, 40, 100 ); imagefilter( $this->image, IMG_FILTER_SELECTIVE_BLUR ); return $this; } public function dream() { imagefilter( $this->image, IMG_FILTER_COLORIZE, 150, 0, 0, 50 ); imagefilter( $this->image, IMG_FILTER_NEGATE ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 0, 50, 0, 50 ); imagefilter( $this->image, IMG_FILTER_NEGATE ); imagefilter( $this->image, IMG_FILTER_GAUSSIAN_BLUR ); return $this; } public function frozen() { imagefilter( $this->image, IMG_FILTER_BRIGHTNESS, - 15 ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 0, 0, 100, 50 ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 0, 0, 100, 50 ); imagefilter( $this->image, IMG_FILTER_GAUSSIAN_BLUR ); return $this; } public function forest() { imagefilter( $this->image, IMG_FILTER_COLORIZE, 0, 0, 150, 50 ); imagefilter( $this->image, IMG_FILTER_NEGATE ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 0, 0, 150, 50 ); imagefilter( $this->image, IMG_FILTER_NEGATE ); imagefilter( $this->image, IMG_FILTER_SMOOTH, 10 ); return $this; } public function rain() { imagefilter( $this->image, IMG_FILTER_GAUSSIAN_BLUR ); imagefilter( $this->image, IMG_FILTER_MEAN_REMOVAL ); imagefilter( $this->image, IMG_FILTER_NEGATE ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 0, 80, 50, 50 ); imagefilter( $this->image, IMG_FILTER_NEGATE ); imagefilter( $this->image, IMG_FILTER_SMOOTH, 10 ); return $this; } public function orangepeel() { imagefilter( $this->image, IMG_FILTER_COLORIZE, 100, 20, - 50, 20 ); imagefilter( $this->image, IMG_FILTER_SMOOTH, 10 ); imagefilter( $this->image, IMG_FILTER_BRIGHTNESS, - 10 ); imagefilter( $this->image, IMG_FILTER_CONTRAST, 10 ); imagegammacorrect( $this->image, 1, 1.2 ); return $this; } public function darken() { imagefilter( $this->image, IMG_FILTER_GRAYSCALE ); imagefilter( $this->image, IMG_FILTER_BRIGHTNESS, - 50 ); return $this; } public function summer() { imagefilter( $this->image, IMG_FILTER_COLORIZE, 0, 150, 0, 50 ); imagefilter( $this->image, IMG_FILTER_NEGATE ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 25, 50, 0, 50 ); imagefilter( $this->image, IMG_FILTER_NEGATE ); return $this; } public function retro() { imagefilter( $this->image, IMG_FILTER_GRAYSCALE ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 100, 25, 25, 50 ); return $this; } public function country() { imagefilter( $this->image, IMG_FILTER_BRIGHTNESS, - 30 ); imagefilter( $this->image, IMG_FILTER_COLORIZE, 50, 50, 50, 50 ); imagegammacorrect( $this->image, 1, 0.3 ); return $this; } public function washed() { imagefilter( $this->image, IMG_FILTER_BRIGHTNESS, 30 ); imagefilter( $this->image, IMG_FILTER_NEGATE ); imagefilter( $this->image, IMG_FILTER_COLORIZE, - 50, 0, 20, 50 ); imagefilter( $this->image, IMG_FILTER_NEGATE ); imagefilter( $this->image, IMG_FILTER_BRIGHTNESS, 10 ); imagegammacorrect( $this->image, 1, 1.2 ); return $this; } }PKt\JR jwplayer.lessnuW+APKt\;; contact_form_7.lessnuW+APKt\?woocommerce.lessnuW+APKt\O rev_slider.lessnuW+APKt\ a_ layerslider.lessnuW+APKt\3Y gravity_form.lessnuW+APKK\BB$i mmihey/PHP-Instagram-effects/LICENCEnuW+APKK\&mmihey/PHP-Instagram-effects/README.mdnuW+APKK\u1Cmmihey/PHP-Instagram-effects/src/Image/Filter.phpnuW+APK \/