Skip to content

Feature request / Question: Why does avifenc is not able to resize? #1034

@sandreas

Description

@sandreas

Hello,

I'm trying to use avifenc to create thumbnails from "out-of-camera" jpg files, these may be 6000x4000 in size and are high quality.

Since avifenc cannot resize images, I first have to create a thumbnail in the correct size and a supported format (e.g. jpg or png) and then reencode this with avifenc to have a valid avif file.

Example:
Lets say I would like to create a thumbnail of 235px in size. Now I have 2 possibilities:

  • Resize the original jpg to 235px jpg and then avifenc
  • Resize the original jpg to 235px png (lossless) and then avifenc

While the lossless process file has better quality in the end, it is also significantly larger (which is logical), the whole process seems to be suboptimal.

So my questions:

  • Why does avifenc does not support resize to save one encoding step?
  • What is the officially recommended process for creating avif thumbnails of larger images at the moment (jpg, lossless png or something else)?
  • Would this be a good feature to have?

Thank you.

sandreas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions