bimg icon indicating copy to clipboard operation
bimg copied to clipboard

Go package for fast high-level image processing powered by libvips C library

Results 147 bimg issues
Sort by recently updated
recently updated
newest added

How to set NoAutoRotate to false when calling watermark?

I am processing images in some steps and I don't return the image at every step: e.g. ``` func ProcessMultiple(image *bimg.Image, options []*bimg.Options) (bimg.Image, error) { var locImage = image...

question

As explained in #201, exif autorot is applied _at the start_, but such meta data is missing after applying watermark. Before image: https://fars.ee/v4So > ![image](https://github.com/h2non/bimg/assets/422244/394cc4e9-a373-4e0b-8ef0-34863652d126) After image: https://fars.ee/dm7d > ![image](https://github.com/h2non/bimg/assets/422244/0237c8ab-94b4-457c-b53b-f204151ac008)...

I tried to build a static binary using musl so it can be run in alphine: ``` CC=musl-gcc CGO_ENABLED=1 go build -a -ldflags '-linkmode external -extldflags "-static"' -o gowebserver main.go...

First, building with the [Dockerfile](https://github.com/h2non/bimg/blob/master/Dockerfile), which is supposed to support avif encoding, but I'm getting: ``` /vips/bin/vips copy smart-crop.jpg smart-crop.avif VipsForeignSave: "smart-crop.avif" is not a known file format ``` Then,...

I - pre-built `vips` locally - get the bimg source into `/go/src/github.com/h2non/bimg`, and under it, - do `go build -v .` and this is what I'm getting: ``` $ go...

Docker build problem unrelated with #425. Building with the [Dockerfile](https://github.com/h2non/bimg/blob/master/Dockerfile) and I'm getting `undefined: io.ReadAll`: ``` Making install in test . . . Making install in helpers . . ....

I can compile my program on my own mac, but i cannot build the docker image. How to use the lib in a docker image? ![image](https://user-images.githubusercontent.com/48406665/195983934-480e7fc4-178e-4834-8119-15b158cab6c0.png)

- When trying to retrieve size of an image, size,_ := bimg.NewImage(img).Size() - In github.com/h2non/bimg/metadata.go, Metadata function tries to extract Software tag from image. Wherein an image had Software value...

``` /opt/homebrew/Cellar/go/1.20.3/libexec/pkg/tool/darwin_arm64/link: running cc failed: exit status 1 ld: warning: directory not found for option '-L/opt/homebrew/Cellar/vips/8.14.1_1/lib' ld: warning: directory not found for option '-L/opt/homebrew/Cellar/glib/2.74.6/lib' ld: library not found for -lvips...