If the library is not available, installation will fail with an error message indicating that. There's one potential problem though: not all PHP installations have the ImageMagick library available. To install, go to Modules > Core > Image and click Install. ProcessWire 3.0.10 now comes with a new module called ImageSizerEngineIMagick. This image is hopefully much larger than those you would ever come across, but just goes to show you how strong the IMagick engine is. GD wouldn't have been able to handle an image even half that size. For instance, I threw this large photo (~27mb, 21600x10800 pixels) at our new IMagick resizer, and while it understandably took some time to complete, it was able to resize it just fine. IMagick can resize really large images that GD can't touch. Meaning, if an image previously took 10 seconds to resize, it might now only take 3-4 seconds. Resizes are more than twice as fast as resizes performed by GD. Relative to GD, ImageMagick has a couple of nice benefits in ProcessWire: He has developed a new image resizing engine for ProcessWire that uses ImageMagick (PHP's IMagick) library. We've been on the lookout for ways to improve the areas mentioned above and Horst found a way to make it happen. And even when it can handle them, you might be waiting a bit for it to generate thumbnails, or perform resizes for large groups of images. Sometimes GD simply can't handle really large photos straight off of high-megapixel digital cameras, because manipulating them takes more memory than is available to PHP. However, areas where it lacks are in speed and ability to resize really large images. ProcessWire's image manipulations have always been handled by the PHP GD library, which does quite a nice job in terms of quality and file size. We've got some really nice upgrades to our image resizing engine, thanks to our resident image and photography expert, Horst.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |