Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It would be nice if avifenc supported adding a downscaled thumbnail #605

Open
leo-barnes opened this issue Apr 20, 2021 · 6 comments
Open

Comments

@leo-barnes
Copy link

From the discussion in this av1-avif issue and the last SG-Image meeting, the conclusion was that the spec now has everything needed for doing progressive refinement either via a separate thumbnail image or via multi-layer coding.

It was concluded in the meeting that the next step would be for implementations and tooling to start using it. Adding a downscaled, very low quality thumbnail to images would be a good step as shown in @jakearchibald's experiments in the issue linked above. @skal65535 mentioned that avifenc currently does not support adding a thumbnail, or at least not to add an automatically downscaled thumb with low quality. Adding that functionality would be a good way for people to start generating content that can then be used to test decode implementations.

@jakearchibald
Copy link

Maybe a good first step would be to provide the APIs to take an existing AVIF image and make it the thumbnail of another (maybe those already exist). We could integrate that into Squoosh.app.

@leo-barnes
Copy link
Author

Maybe a good first step would be to provide the APIs to take an existing AVIF image and make it the thumbnail of another (maybe those already exist).

I think GPAC/MP4Box might support doing that already. Not extremely familiar with it though. @tdaede probably knows.

@dtruffaut
Copy link

dtruffaut commented May 5, 2021

I'd like blurring to be automatically handled in pre-processing (inside image), or in post-processing (by browser).
CSS blurring is bad for performance when images are displayed into an infinite virtual scroller, and the user scrolls fast.

@toastal
Copy link

toastal commented Jun 18, 2021

With talks of blurring... can we make sure whatever blurring route is taken it's a linear gamma blur and not an sRGB blur (i.e. CSS's filter: blur(16px)) like some of the demos in the previous thread? The blobs of muddy dark colors look bad and aren't "correct".

@jakearchibald
Copy link

I only used CSS's blur because it was there. A real implementation needs to be a lot faster, and as you say, linear.

@anonwins
Copy link

anonwins commented Oct 7, 2021

So what happened to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants