Closed
Description
Hi! Thanks, first of all, for this amazing library. It saved my ass when the Squoosh project was (rather quietly) abandoned.
I'm using PHP now to resize the images, and for web-facing thumbnails I'm trying to remove the EXIF data.. But I'm having some difficulties figuring it out.
$image = Vips\Image::thumbnail($srcPath, $width, ['height' => $height]);
$image
->jpegsave($tempFile, [
'Q' => $quality,
'keep' => ['none'],
]
);
It seems to be expecting an array, but whatever I feed it: nothing gets stripped.
I did stumble upon the 'strip' property just now, and that takes care of it, albeit bluntly. What am I missing that I can't use the more selective 'keep' method? I tried using the 2 in conjuction, but that only seems to bypass strip altogether.
Metadata
Metadata
Assignees
Labels
No labels