Skip to content

Failed decoding image when trying to display images from file system #38981

@spvalencia

Description

@spvalencia

I'm having an issue when I try to display an image from file system.

Example: FileImage(File(path))

[ERROR:flutter/lib/ui/painting/codec.cc(207)] Failed decoding image. Data is either invalid, or it is encoded using an unsupported format.

Can anybody help me?

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