govips
govips copied to clipboard
A lightning fast image processing and resizing library for Go
I am bringing our image scaling application up to date using govips v2. Thanks for the huge effort to bring the library up to date, it's great! I have one...
The bitmap library used for this does not support the various bitmap formats in the wild. This is also very confusing behaviour for a user of the pre-v2 version of...
This enables creating new image object directly from file path, using [vips_image_new_from_file](https://www.libvips.org/API/current/VipsImage.html#vips-image-new-from-file): Below is the go bench of `NewImageFromFile` against the master branch. The memory difference `B/op` is very noticeable....
Probably the bug. When I try export ThumbnailFromBuffer twice. ```go // Broken, fails with error img, _ := vips.NewThumbnailFromBuffer(...) img.ExportWebp(...) img.ExportPng(...) // Works well img, _ := vips.NewImageFromBuffer(...) img.Thumbnail() img.ExportWebp(...)...
How to create an alpha mask - basically an image having black pixels which are transparent and white for the ones which have 0 transparency - so creating an image...
Not sure if this was intended, but checking `if config.x >= 0` to set the user settings, and otherwise fallback to default would mean I could set every setting to...
I had a Go project running around 250 concurrent image processing routines and had a crash with the only message being `signal: segmentation fault`. I am running Ubuntu 22.04. on...
This is more of a feature request - but I think there are multiple use-cases where it would be beneficial to use the native libvips implementation for loading from a...
This PR adds 2 methods to `ImageRef` to make it possible to get and set metadata from images
How can I get a image color depth, sometime we need to check the image color depth is 8bit or 10bit.