John Cupitt
John Cupitt
We'd need to make some kind of reproducible benchmark to track down high memory usage. If you can make a standalone script that does what you need, I'd be happy...
Hi @J0WI, Sure, that'd be great. It looks like they need docbook, so we'd just need a way to generate that from our existing phpdoc files. Do you know if...
Hi @AdamGaskins, Yes, you need to set the output profile. By default, libvips will use an sRGB output profile, since CMYK profiles can be so large (eg. 500kb is not...
The main docs are here, in case you didn't see them: https://www.libvips.org/API/current/libvips-resample.html#vips-thumbnail
Oooof, I think you've found a bug in thumbnail. I'll investigate.
OK, I think I fixed it. This improvement will be in 8.12.3, thanks for the report! I now see: ``` $ vipsheader cmyk5.jpg cmyk5.jpg: 3654x4577 uchar, 4 bands, cmyk, jpegload...
Hello, you can just give a large value for height, and then size will be constrained by the width. Or vice-versa, of course. @kleisauke is proposing adding something to make...
Hello @WyriHaximus, libvips itself certainly is, and the extension ought to be as well. I've never experimented with ZTS though so you may well have run into something. Post a...
Hi @Sud4, Your PNG doesn't have an alpha channel, so you only need a three-element array for the background. Try: ```php 'background' => [255, 255, 255] ```
You can also just use a single number, ie. ```php 'background' => 255 ``` Now it'll work for any PNG image.