Skip to content

Progressive JPG loading with callback #48

@MentalGear

Description

@MentalGear

Thx again for this most excellent library !

Progressive JPGs can provide great content hints in faster time than current image loading/blur LQIP. There's a whole study done by cloudflare on it, describing that progressive JPGs might even be more desirable than webp depending on the case.

WebP is usually 20%-30% smaller than a JPEG of equivalent quality, but progressive JPEG appears to load 50% faster.
[JPGs] at 50% of the data the image looks almost as good as when the whole file is delivered.

Screenshot 2024-03-12 at 00 51 44

Blur could smoothen the pixels.

Would you consider adding support for these with progress callback to for example update a progress bar or the blur amount.

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