![]() You'll find our address on our contact page. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You can support us by buying one of our paid products. We invest a lot of resources into creating best in class open source packages. SilverStripe enthusiast? Don't waste time, go to the SilverStripe module. Using WordPress? Then try out the WP CLI command. Loving Laravel? Then head over to the Laravel specific integration. Here are some example conversions that have been done by this package. ![]() The package will automatically detect which optimization binaries are installed on your system and use them. The image at $pathToImage will be overwritten by an optimized version which should be smaller. $optimizerChain-> optimize( $pathToImage) $optimizerChain = OptimizerChainFactory:: create() Then use optimize button to check everything is OK, you should be able to compress media and do a "revert to original".Use Spatie\ ImageOptimizer\ OptimizerChainFactory Here we are, hit the top menu Images to list the optimizable media, if nothing is there hit the button SYNC ALL or try the filter field (top left). ![]() Using a cron task that requires almost no server resources, launch automatically image and PDF compression using ImageRecycle servers.įolder Selection to Run the PHP Compressionīrowse and select one or several folders of your server from the script setting to apply initial and automatic compression on images and PDF. Stay focused on your work while we're dealing with the image compression. Optimize Automatically New Images Using Cron Task A cron task need to be stup and that'll be all. The optimization process will run in background, meaning that you can work on something else during this time. Once the script is installed you can launch a global compression of the media selected. Image can be compressed by up to 20%Īuto Optimize Images and PDF as a Background Compression Process The " original quality" or "lossless" is the best option when you want to compress yet be able to reuse and modify images layer by preserving 100% of the image data. The "Best saving" or "Lossy" image optimization quality is the best choice for the web, you preserve all the visual quality while compressing image by up to 80% In all optimization levels, we first check the image quality, if it's already too much compressed and it'll be visible, we automatically skip the compression process. We do care about your image quality, our algorithm has 2 levels of compression for images and one for the PDF. All new media added in those folders will be checked and listed in the next step for optimization. All your server folders under the ImageRecycle install are listed here, click on the name to deploy the folder tree. We Upload, Compress and Replace Images and PDFįinally, you need to select where you want to run the optimization, which server folder. No database are required, PHP 5.6+ is required, that's all. The PHP script can be installed anywhere on the server, just unzip the folder and upload it. It means that you just need to upload a folder of files on your server, then you can start compressing all images and PDF of this server.Ĭompress Images and PDF on Any Server That Runs PHP This script is compatible with all the servers that run PHP, all CMS, it's a standalone installation. ImageRecycle PHP Compression Size: 43.25 KB Format: ZIP
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |