Comments (5)
I am closing this issue due to inactivity (for almost 8 years ⚰️ ) I think by now numpy and, in particular, the array format is such a widely supported API that having a numpy dependency is more of a strength than a hindrance.
If, for any reason, a numpy dependency still poses a problem feel free to leave a comment and we can re-open this issue or make a new one, depending on the type of issue.
from imageio.
Coming from the scientific community, numpy is not such a bad dependency, since almost every library that we use depends on it.
But I see your point; in order for imageio to be useful in e.g. the web community, the numpy dependency is an obstacle.
Since we mainly use numpy as a container for the data and don't do any processing, I suspect that making the dependency optional should be relatively easy.
from imageio.
Cool.
I must say I have been waiting for a project like this for a long time.
Right now, you can make any Web Python code dealing with image
processing newcomers friendly, and they complain very hard given how
easy it it to do the same on a PHP project. This, and cryptography, are
the two batteries Python has not included.
Good luck.
Le 17/11/2014 16:00, Almar Klein a écrit :
Coming from the scientific community, numpy is not such a bad
dependency, since almost every library that we use depends on it.But I see your point; in order for imageio to be useful in e.g. the
web community, the numpy dependency is an obstacle.Since we mainly use numpy as a container for the data and don't do any
processing, I suspect that making the dependency optional should be
relatively easy.—
Reply to this email directly or view it on GitHub
#41 (comment).
from imageio.
Since we mainly use numpy as a container for the data and don't do any processing, I suspect that making the dependency optional should be relatively easy.
Technically, you could probably replace the numpy.ndarray
container with a array.array
for the data However, I don't know about things like multidimensional indexing and conversions between dtype which numpy
definitely makes easier.
from imageio.
I'm working on https://github.com/almarklein/tinynumpy for this
from imageio.
Related Issues (20)
- ImageResource type should support bytes HOT 1
- [Bug Report] imageio v3 crashed when read hdr images after a certain number of times
- Link to the documentation in the README is broken HOT 1
- imread() fails on HTTPS, code example from documentation HOT 3
- 8bit grayscale now loaded as RGB HOT 5
- 2.31.4: documentation build fails HOT 1
- iio pyav plugin crash along with python when handling a webm file, setting format to rgba HOT 2
- It does not seem to support avif image format HOT 1
- Support for Pillow v10.1 (re: setting `image.mode`) HOT 8
- Inconsistency when reading floating point .exr image file HOT 3
- imageio.imread changes the values of graycale pixels, try to read 12-bit png grayscale image. HOT 8
- super slow video reads HOT 6
- imageio v2.33.0 requieres Pillow>=9.1.0 for GIFs HOT 1
- Trouble using freeimage plugin on MacOS arm64 HOT 2
- 2.33.1: pytest is failing in 5 units HOT 1
- [Question] What tonemapping method does the imageio library use when reading HDR images? HOT 2
- title of the gif got stacked together HOT 2
- UnicodeDecodeError if metadata is not UTF-8 encoded (pyav plugin) HOT 3
- [request] more color/palette control on GIF writing HOT 3
- Transition from v2 ffmpeg read/write to v3 pyav read/write: quality, batching HOT 7
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 imageio.