MadHatter Posted June 17, 2015 Posted June 17, 2015 It's just occurred to me that it would be nice to set the output format of images (when resizing etc). I've just had to upload a load of magazine covers that were sent to me as png files. Considering the magazine covers are fairly complex images then a jpeg would be a better format for these. My client will be handling the uploading once the site is live so I cannot control what format they upload the images as (without adding some rules to my fields). Being able to set the resized image format could potentially save on some bandwidth.
horst Posted June 17, 2015 Posted June 17, 2015 Pageimage Manipulator supports this: $image = $page->images->first()->pimLoad("suffix")->setOutputformat("jpg")->save(); 3
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now