Skip to content

Issue with Cropping HEIC Files on Apple Devices #279

Open
@arachimi

Description

@arachimi

Dear Developer,

I encountered a problem with cropping HEIC files from the Apple Gallery. When I select a file from the Gallery and attempt to crop it, I receive the following error from the Safari log:

"Canvas area exceeds the maximum limit (width * height > 16777216)."

This might be causing the crop function to fail.

I have attached a sample file with the issue in this Google Drive link:

https://drive.google.com/file/d/1WOKcNmwsCHKGt95KKLBYe7W-eInZu0Nd/view?usp=drive_link

You can also test it on this website:

https://codesandbox.io/embed/vue-advanced-cropper-composition-api-5z0ww0?codemirror=1

I tried it on Safari iOS and found that after cropping, the resulting image is black.

Thanks as always

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