Skip to content

add support for AVIF image format #98

Closed

Description

@milahu

currently AVIF images are not supported

$ chandra test.avif test.avif.html 
Error: Invalid value: Unsupported file type: .avif

also piping a PNG image to stdin does not work

$ magick test.avif png:- | chandra - test.avif.html
Error: Invalid value for 'INPUT_PATH': Path '-' does not exist.

$ magick test.avif png:- | chandra /dev/stdin test.avif.html
Error: Invalid value for 'INPUT_PATH': Path '/dev/stdin' does not exist.

also piping a PNG image through a named pipe does not work

$ chandra <(magick test.avif png:-) test.avif.html
Error: Invalid value for 'INPUT_PATH': Path '/dev/fd/63'' does not exist.

workaround
create a temporary PNG image file

magick test.avif test.avif.png
chandra test.avif.png test.avif.html

Activity

  1. VikParuchuri commented on Nov 14, 2026

    @VikParuchuri
    Member

    Fixed in v0.3.0 — Added .tif and .avif to SUPPORTED_FILE_EXTENSIONS and replaced double-glob directory discovery with single-pass case-insensitive discover_input_files.

  2. milahu commented on Nov 14, 2026

    @milahu
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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