Giter VIP home page Giter VIP logo

imlib2-heic's Introduction

imlib2-heic

Loader for HEIC for old version of Imlib2 (i.e. for Feh). Based on libheif.

Note that new imlib2 may have heif loader built-in, hence may not require this project to open heic images.

There is a pre-built amd64 deb package on Github releases.

Building and deploying

On Debian amd64:

  1. apt-get install libimlib2-dev libheif-dev pkg-config build-essential
  2. make
  3. Copy libheic.so to /usr/lib/x86_64-linux-gnu/imlib2/loaders

Licence

imlib2-heic is BSD (3-clause), but it depends on libheif which is LGPL.

imlib2-heic's People

Contributors

vi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

mikoim omar-polo

imlib2-heic's Issues

Add a license

I'd like to package this for another distro, but need to know what the license terms are before I can do that

[SOLVED] imlib2-heic crashes with segmentation fault for iPhone HEIF/HEIC files or shows broken images

Hey,

I would love to contribute to this project. I don't really know where to start looking though. Here is my problem.
Im using feh which uses imlib2 and I would like to see my iPhone HEIF/HEIC files so I installed imlib2-heic also.
It either crashes with such a segmentation fault:

Stack trace of thread 20303:
                #0  0x00007fb99b303497 load (heic.so + 0x1497)
                #1  0x00007fb99c31687c n/a (libImlib2.so.1 + 0x2287c)
                #2  0x00007fb99c317381 n/a (libImlib2.so.1 + 0x23381)
                #3  0x00007fb99c2fcd2f imlib_load_image_with_error_return (libImlib2.so.1 + 0x8d2f)
                #4  0x0000560177fa5de9 n/a (feh + 0xcde9)
                #5  0x0000560177fbbb24 n/a (feh + 0x22b24)
                #6  0x0000560177fb4e8c n/a (feh + 0x1be8c)
                #7  0x0000560177fad6d6 n/a (feh + 0x146d6)
                #8  0x0000560177fadcbf n/a (feh + 0x14cbf)
                #9  0x0000560177fa013e n/a (feh + 0x713e)
                #10 0x00007fb99c154002 __libc_start_main (libc.so.6 + 0x27002)
                #11 0x0000560177fa026e n/a (feh + 0x726e)

Or shows images pixelated in black/white with artifacts like so:

Screenshot from 2020-08-16 16-15-48

Can you help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.