Comments (8)
This is unfortunate, as libjpeg-turbo 3 breaks core graphics programs like GraphicsMagick
and ImageMagick
. On MacPorts we'll have to roll back the supported version of py-imagecodecs
.
See: macports/macports-ports@d3ad9af#commitcomment-111141157
from imagecodecs.
OK. I'll re-add the legacy source for the JPEG8 codec extension, which can be linked to libjpeg 8 and libjpeg-turbo 2.1. The next imagecodecs release is waiting for libtiff 4.5.1 and libjpeg-turbo 3.0...
from imagecodecs.
It should be possible to build v2023.7.4 with libjpeg 8 or libjpeg-turbo < 3.
from imagecodecs.
Imagecodecs 2023.3.16 requires libjpeg-turbo 3, which is currently in beta:
https://github.com/cgohlke/imagecodecs/blob/v2023.3.16/imagecodecs/imagecodecs.py#L164
from imagecodecs.
Imagecodecs 2023.3.16 requires libjpeg-turbo 3, which is currently in beta:
https://github.com/cgohlke/imagecodecs/blob/v2023.3.16/imagecodecs/imagecodecs.py#L164
I'm one of Marius' fellows in the MacPorts space, and the current maintainer of libjpeg-turbo
.
As for this topic: While I can appreciate wanting to closely follow upstream projects - and prepare for breaking changes - forcing users and such down that path isn't ideal either.
Have you folks considered checking for the installed version of libjpeg-turbo
at configure time, and adjusting things as necessary? That would certainly make things much easier, allowing use of your latest version.
from imagecodecs.
checking for the installed version of libjpeg-turbo at configure time, and adjusting things as necessary?
Cython/setuptools does not have a feasible way to do this. In fact, the intention of the release was to get rid of the libjpeg-turbo/libjpeg-turbo12/libjpeg switches. Libjpeg-turbo 3, even if in beta, has just too many features relevant for this library to ignore.
If you need to build against libjpeg-turbo 2, try to revert the relevant changes: conda-forge/imagecodecs-feedstock#79 (comment)
from imagecodecs.
This seems rather unfortunate. It would be nice if there was still a libjpeg-turbo 2 compatible cython module we could fall back on. It may be a long time before libjpeg-turbo 3 makes its way into distributions.
from imagecodecs.
Looks good: macports/macports-ports@f32ad48
from imagecodecs.
Related Issues (20)
- NumPy 2.0 support HOT 6
- IMCD_LZW_TABLE_TOO_SMALL exception with large image HOT 6
- Cannot disable bcn extension HOT 4
- codec not available: 'imagecodecs_jpegxl' HOT 2
- aarch64 install HOT 2
- Not get compression ratio of 10:1 HOT 1
- Decode PackBits with padded bytes. HOT 5
- JPEGLS not available under devbox/nix HOT 3
- No multi-component transform for JPEG2000 lossless HOT 3
- Cannot install imagecodecs HOT 3
- Fails to build with libjxl v0.9: use of undeclared identifier 'JXL_DEC_EXTENSIONS' HOT 2
- Cannot set JPEGXL effort lower than 3 in `jpegxl_encode`? HOT 2
- Checking for distributions (Arch in this case) should be done in a more reliable way HOT 2
- Support for RGB + extra channels for JXL encoding HOT 1
- Is there a compiled version of this? HOT 1
- Feature Request: Add JPEG XL Float Support HOT 2
- Not able to install this module HOT 1
- Cannot disable bcn HOT 3
- Error when slicing in zarr array HOT 4
- Feature Request: add Jpegli codec HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagecodecs.