Comments (5)
I find it /extremely/ unintuitive that imageio (through freeimage)
expects image arrays to be upside down to be saved correctly. Virtually
every other library does it the other way. There should be a big fat
warning in the imageio documentation that I have to flip my image.
Ideally though, imageio would do the flipping for me (when reading or
writing using freeimage). Or did I miss something fundamental? Btw, I'm
writing 16bit tiff files.
AFAIK imageio saves the images in the same "orientation" as e.g.
matplotlib and Matlab do. What is your experience with these?
I was not aware that most other toolkits do it differently. If this is
the case, or if indeed its confusing, we should add this information to
the docs.
- Almar
from imageio.
Please have a look at scikit-image/scikit-image#1101 I think this is the same issue and really a bug.
from imageio.
Ah, I did not understand that this was specific to 16bits images. I backported Stefan's Fix. Can you try and see whether it works?
from imageio.
Yep it's working.
from imageio.
Great!
from imageio.
Related Issues (20)
- 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
- AttributeError: 'SeekableFileObject' object has no attribute 'readline' HOT 1
- Find out what kwargs are available for each function
- Only partial DICOM layers loading in Google Colab using imageio.volread HOT 6
- How to suppress FFMPEG warning for BluRay files? HOT 1
- How to add a pause between loops of a GIF? HOT 1
- Wrong time unit in documentation of pillow_legacy
- support read gzip data in .nrrd file 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 imageio.