Skip to content

libheif not found WSA/Android ImageSharp #3

@prabhav-mehra

Description

@prabhav-mehra

Thanks for this library, very helpful for what I am working on.

I am trying to load an HEIC image using ImageSharp using this library. It works on windows but when I try to load it on android (I am using WSA, haven't gotten a chance to test on actual device but I would imagine it being the same), I get libheif not found.

I have installed both 'LibHeif.Native.win-x64' and 'LibHeif.Native.linux-x64'. for some reason 'LibHeif.Native' give me errors so I had install both separately.

System.DllNotFoundException: 'libheif'

[HeifDecoderImpl] getSize: not supported!
[HeifDecoderImpl] getSize: not supported!
Loaded assembly: LibHeifSharp.dll [External]
[monodroid-assembly] Shared library 'libheif' not loaded, p/invoke 'heif_get_version_number' may fail
[monodroid-assembly] Shared library 'libheif' not loaded, p/invoke 'heif_get_version_number' may fail
[HeifDecoderImpl] getSize: not supported!
[HeifDecoderImpl] getSize: not supported!
[HeifDecoderImpl] getSize: not supported!
**System.DllNotFoundException:** 'libheif'```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions