Skip to content

add support for AVIF image format #98

@milahu

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

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