Comments (3)
I have just implement it using C++. But is it possible to handle this error using pure C language?
from jpeglib.
Thank you for your input and contribution!
Error handling was one of the things to be done for the production release, and your solution works fine for me. I created a feature branch from this issue, you can create pull request there.
I'll make some changes there, such as removing the hack with renaming macros into a structure, that is more comprehensible.
from jpeglib.
Thank you, added to release 0.11.4.
from jpeglib.
Related Issues (12)
- IndexError: list index out of range HOT 9
- write_dct and write_spatial leak file handles HOT 6
- "Bogus virtual array access" on save after from_dct with some picture dimensions and 4:2:0 chroma subsampling HOT 4
- Verify dtype in `jpeglib.from_spatial` HOT 1
- Writing custom quantization table leads to segfault with libjpeg 9e HOT 1
- Quantization table mismatch for quality factor 0 HOT 1
- Installing from source leaves .so files in root directory HOT 2
- install_test_dependencies reruns pip install HOT 1
- Swapped sampling factors HOT 2
- Trellis quantization of DC coefficients is switched off HOT 2
- Integer QF in jpeglib.from_dct 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 jpeglib.