Adrian Shum

Results 58 comments of Adrian Shum

If MozJPEG is being complied on host machine, `-vips-mozjpeg` would enable MozJPEG compression. Other it would be no effect. MozJPEG is currently not bundled with docker image, due the default...

@skurfuerst I am trying to build a mozjpeg variant of imagor docker image: ``` docker pull ghcr.io/cshum/imagor-mozjpeg:docker-variants ``` https://github.com/cshum/imagor/pkgs/container/imagor-mozjpeg Would you please help to check if this docker image has...

The MozJPEG variant of Imagor Docker image is now available at v1.5.18 https://github.com/cshum/imagor#mozjpeg-support

It seems working fine in the current version? ``` docker run -rm -p 8000:8000 shumc/imagor:1.4.16 -imagor-unsafe ``` ``` http://localhost:8000/unsafe/fit-in/200x200/filters:format(jpg)/https://moovup-content-asset.s3.ap-southeast-1.amazonaws.com/images/5a21523c-e71f-4324-b1b4-c7bd0f5dd295.tiff ``` ![5a21523c-e71f-4324-b1b4-c7bd0f5dd295](https://github.com/user-attachments/assets/6758f4ac-da20-4c8e-aa87-dcc23b08ec1a)

A PR would be welcomed! There is already the `upscale()` logic for `fit-in`. This would be an additional `no_upscale()` logic for those resize option that are NOT fit-in, including >...

Would you please try this docker build, which I am testing imagor with seekable s3 read stream. See if it makes any difference: https://github.com/cshum/imagorvideo/pkgs/container/imagorvideo/266301862?tag=master ``` ghcr.io/cshum/imagor@sha256:31a24a7cc2eba7efbbc59050358932b4654a22d763237228fe8a0fdcf356d634 ```

Can you share any of the mp4 files to help reproduce the issue?

For vipsgen you may use [vips.NewImageFromMemory](https://pkg.go.dev/github.com/cshum/vipsgen/vips#NewImageFromMemory) see example https://github.com/cshum/vipsgen/blob/main/examples/from_go_image/main.go