Skip to content

Add support for AVIF and JPEG XL image formats #987

Description

@zgjd472v58-ctrl

Feature Request: AVIF and JPEG XL Image Format Support

Summary

Request to add support for modern image formats: AVIF and JPEG XL, which offer superior compression and efficiency compared to traditional formats like PNG, GIF, and JPEG.

Motivation

  • AVIF support: Chrome 85+, Firefox 93+, Safari 16+ (increasingly becoming the standard)
  • JPEG XL support: Chrome 145+, Firefox 152+, Safari 17+
  • AVIF is now being used universally across many websites, often replacing WebP, JPEG, and PNG
  • Key advantages:
    • More efficient compression compared to PNG/GIF (even in lossless conversion)
    • Better quality-to-size ratio compared to JPEG
    • Native animation support (like GIF but more efficient)
    • Newer format with strong industry adoption

Current Status

AVIF is already widely supported and becoming more universal. JPEG XL support is growing with recent browser versions.

Suggested Implementation

Implement support for these formats while maintaining backward compatibility with existing image formats. Consider:

  • Checking Laravel image handling capabilities (Linkstack's current framework)
  • Progressive enhancement approach to support older browsers
  • Resource compatibility with current Laravel version

Resources


This feature request was submitted based on Discord community discussion and feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions