These forums are provided for community interactions only. For official support please submit a support ticket.
You are not logged in.
In the documentation the Format() call shows the following parameters:
'name'
'width'
'height'
'crop'
'quality'
'sharpening'
My question is are these the only ones that are available?
I ask because although I know its not best practice there are instances when I want to scale up some images beyond what I original uploaded (I know there'll be a quality hit). At the moment it won't enlarge beyond the original size, so I was wondering if there's a format option to allow enlarging.
Offline
doesn't look like it.
I think that darkroom.php is the main php that cooks up formats (not positive as have never hacked into it but look for the line
//// // The workhorse develop function ////
and maybe you can hack it up, turning off the limiting to original size. Would be curious if you can do it, as would love to hack a few more cropping styles to handle really long images (limit by height only for example)
Offline
I'd like to know that also. I just started using the api and am amazed how convenient it is.
What about the 'crop' parameter. It works but is only scaling down.
Is there 'crop to fit all' available?
Offline