Skip to content

Webp performance is slow and wrong quality issues - Workarounds #213

@rishabh876

Description

@rishabh876

After using this library, I have realised it has few issues

  • 1st is that its quite slow on high res images may be due to the fact that webp compression is not hardware accelerated.
  • 2nd issue is while using resolution constraints, it ignores quality you select. Instead it defaults to 100.

Work around - Both issues can be resolved by doing the conversion in 2 phases and its much faster

  • 1st issue can be resolved by doing resolution reduction in jpeg first (Its hardware accelerated). And using the output file for webp conversion. Its like 10 times faster in some cases.
  • 2nd issue is also resolved since quality reduction step will be done in 2nd phase while converting to webp.

Hope it helps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions