Skip to content

Expose file mimetype for printing image properties / attributes #7977

Open
@Earnestly

Description

@Earnestly

Is your feature request related to a problem? Please describe.

I would like to print the mime type of a given file as understood by imagemagick. Currently imagemagick does display the Mime type: when using identify -verbose but there does not appear to be an equivalent attribute.

Describe the solution you'd like

Provide a %[mimetype] attribute so that it may be used with -format or -print

Describe alternatives you've considered

# Fine Free File Command
mime=$(file -b --mime-type -- "$file")

Additional context

No response

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