Package Details: python-imagecodecs 2022.2.22-1

Git Clone URL: (read-only, click to copy)
Package Base: python-imagecodecs
Description: Image transformation, compression, and decompression codecs
Upstream URL:
Licenses: BSD
Submitter: hottea
Maintainer: hottea (lilac)
Last Packager: lilac
Votes: 2
Popularity: 0.028699
First Submitted: 2020-06-20 14:41 (UTC)
Last Updated: 2022-02-24 04:50 (UTC)

Latest Comments

hottea commented on 2020-12-28 01:03 (UTC)

@BrainDamage Are you using ArchLinux? According to upstream code, they check if it's ArchLinux, and disable zopfli if true. For any further issue, report to upstream.

BrainDamage commented on 2020-12-27 15:59 (UTC)

well, it's evidently not disabled since it attempts to source the header

wouldn'tt t be simpler to just add a quick path fix in prepare() ?

hottea commented on 2020-12-26 01:46 (UTC) (edited on 2020-12-26 01:51 (UTC) by hottea)

@JDAturbo, according to, for ArchLinux, zopfli is disable. I'll remove zopfli from the deps. But if you'd like to add zopfli extension, you could modify this line to

cdef extern from 'zopfli.h':

JDAturbo commented on 2020-12-25 23:19 (UTC)

building 'imagecodecs._zopfli' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -mtune=native -march=native -O3 -flto=20 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -Iimagecodecs -I/usr/include/python3.9 -I/usr/lib/python3.9/site-packages/numpy/core/include -c imagecodecs/_zopfli.c -o build/temp.linux-x86_64-3.9/imagecodecs/_zopfli.o
imagecodecs/_zopfli.c:617:10: fatal error: zopfli/zopfli.h: No such file or directory
  617 | #include "zopfli/zopfli.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.

zopfli.h is installed at /usr/include/zopfli.h.