GithubHelp home page GithubHelp logo

Saving Lossless Webp? about imagine HOT 5 CLOSED

jcogs-design avatar jcogs-design commented on May 27, 2024
Saving Lossless Webp?

from imagine.

Comments (5)

jcogs-design avatar jcogs-design commented on May 27, 2024 1

Not entirely sure on what basis this got closed.
That you can do lossless using a different library is nice, but that doesn't address the range constraint on GD (which appears to be the only reason GD won't do lossless currently).
No more useful closure than saying "use a different library" really. I thought this process would be more inclusive regarding actual issues, rather than whatever it is that is convenient.

from imagine.

ausi avatar ausi commented on May 27, 2024

With the IMagick driver you can use the option 'webp_lossless' => true.
The GD driver does not support that currently, see #858

from imagine.

jcogs-design avatar jcogs-design commented on May 27, 2024

With the IMagick driver you can use the option 'webp_lossless' => true. The GD driver does not support that currently, see #858

Actually GD library does support this feature. See here https://php.watch/versions/8.1/gd-webp-lossless
The details of this were included in my original post.
Perhaps you couldn't find the link to the documentation - hopefully the link above will help.

from imagine.

mlocati avatar mlocati commented on May 27, 2024

Not entirely sure on what basis this got closed.
That you can do lossless using a different library is nice, but that doesn't address the range constraint on GD

This issue has been closed because #858 should fix it. What's wrong with that pull request?

from imagine.

ausi avatar ausi commented on May 27, 2024

No more useful closure than saying "use a different library" really.

No that’s not what I meant. #858 adds the support of 'webp_lossless' => true for the GD driver.

The GD driver does not support that currently, see #858

Actually GD library does support this feature.

Yes, the GD library does, but the GD driver did not. But as #858 was already merged since, the GD driver now also supports lossless WEBP images (it was not released yet so you have to install the dev-develop version in order to use it in your project).

from imagine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.