lilliput icon indicating copy to clipboard operation
lilliput copied to clipboard

Resize images and animated GIFs in Go

Results 52 lilliput issues
Sort by recently updated
recently updated
newest added

This PR adds support for resizing animated WebP images through the libwebpmux/demux sublibraries. It uses the `WebPAnimEncoder`/`WebPAnimDecoder` APIs to implement new `Encoder`/`Decoder` classes instead of relying on OpenCV, similar to...

Currently, lilliput removes all of the APNG-specific data when resizing an animated PNG file, causing it to only output the first frame of the animation. This pull request adds a...

Currently, lilliput removes all of the APNG-specific data when resizing an animated PNG file, causing it to only output the first frame of the animation. Ideally, it should resize and...

I'm having some problems with `lilliput` on my M1 machine. Running `go get github.com/discord/lilliput` returns me: ``` # github.com/discord/lilliput ld: warning: ignoring file ../../go/pkg/mod/github.com/discord/[email protected]/deps/osx/lib/libswscale.a, building for macOS-arm64 but attempting to...

Discord doesn't currently support Animated WebP because the media proxy doesn't support resizing animated WebP.

https://pkg.go.dev/github.com/discord/lilliput I think it’s because this repository’s version tags are missing PATCH. e.g. v1.2 should instead be v1.2.0 instead, pseudo version numbers are automatically getting picked up by the module...

```bash CGO_ENABLED=1 go build -o finsmart-storage-api # github.com/discord/lilliput In file included from ../pkg/mod/github.com/discord/[email protected]/deps/linux/include/libavutil/common.h:464, from ../pkg/mod/github.com/discord/[email protected]/deps/linux/include/libavutil/avutil.h:296, from ../pkg/mod/github.com/discord/[email protected]/deps/linux/include/libavutil/samplefmt.h:24, from ../pkg/mod/github.com/discord/[email protected]/deps/linux/include/libavcodec/avcodec.h:31, from avcodec.cpp:7: ../pkg/mod/github.com/discord/[email protected]/deps/linux/include/libavutil/mem.h:341:79: warning: ‘alloc_size’ attribute ignored on a function returning...

Hey, i am currently try to compress png and jpg images with lilliput. While i am uploading pngs the png file sizes are larger then before - with all kind...

| Input | Output | | - | - | | ![input](https://user-images.githubusercontent.com/6015058/106580059-91779d80-6595-11eb-93cd-6b65321e06a4.gif) | ![output](https://user-images.githubusercontent.com/6015058/106583289-09939280-6599-11eb-959a-9d77f9892066.gif) | To reproduce: 1. `go get github.com/discord/lilliput` 2. `cd ~/go/src/github.com/discord/lilliput/examples` 3. `go build` 4. `./examples -input...