Skip to content

Cannot import JPEG images with sampling factors not supported by jpgd #75349

@TheYellowArchitect

Description

@TheYellowArchitect

Godot version

4.0.1

System information

Arch Linux

Issue description

There are certain .jpg images where Godot just cannot import the image. The image is not corrupted, all file editors display it normally. And ofc, an X cross sign appears on the image file in godot's filesystem tab. No preview, nor loading it to some texture or sprite works.

This bug was not created in 4.0.1, I can confirm it was present since 4.0 beta14. I also tested 3.5.1, it exists there too.

Steps to reproduce

  1. Open empty project
  2. Import this:
    29284413

Minimal reproduction project

See above.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions