Skip to content

HEIF don't work and PNG is duplicated #811

Closed
@JanisPlayer

Description

@JanisPlayer

I noticed that .HEIF is missing, but .HEIC works. This is likely because it's missing, as indicated in Application.php.

Additionally, there's a small error in base.ts, with PNG being duplicated.

Oh, by the way, I wanted to inquire whether it would be possible to add WebP to Application.php. I've already tested to see if it works. I just wanted to ask if there were any specific reasons why it hasn't been added yet.

When an image is named image.jpeg but is actually stored in a different format like .heif or .svg, it can logically lead to problems. I noticed this due to a bug in Instagram, which doesn't save images with the correct file extension, resulting in faulty loading when using the Zoom with Original File function. This could be resolved by examining the file more closely rather than relying solely on the file name and then providing the correct but harmless file extension, allowing the images to be treated normally again.

However, this is more of an issue caused by "well-programmed" apps like Instagram or user errors. It's not a significant concern because the harmless format is ultimately used. So, it's just a feature.

#812
I have at least added the formats to the PR, if it is accepted I will open the and they can decide.
And that with the idea yes is nice to have but not absolutely necessary if yes everything is stored correctly, therefore that is crossed out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions