Skip to content

Feature: Relaxed Type Requirement for Input::fromFile #17

@rikgirbes

Description

@rikgirbes

Current behavior:

  • Requires specifying InputImageType, even though the method just calls Imagick::readImageFile() which supports multiple image types without explicit type hints.

Requested change:

  • Make the InputImageType optional or infer it automatically to simplify the API.

Or: Maybe just replace with InputImageType::IMAGE instead of ::PNG, which seems misleading.

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