Commit Graph

18 Commits

Author SHA1 Message Date
Wim Pomp
625b222a0d - some warnings
- better color(map) support
- make python module optional in rust
- max 48 threads
2024-10-12 13:19:22 +02:00
Wim Pomp
4d31933a38 - make zstd block include content size so fiji can actually read it
- add compression level argument
- remove shape argument
- some more pytest tests
2024-10-11 18:52:49 +02:00
Wim Pomp
1197806a6f - start some color(map) support in python
- compress_frame function in python for backwards compatibility
- save all extra tags in a single hashmap
- construct tags from references
- store frames by c, z, t
- save px_size in tiff
- some getters and setters in py.rs
2024-10-10 15:28:14 +02:00
Wim Pomp
984df9441a - add python dependencies 2024-10-09 15:11:23 +02:00
Wim Pomp
f62b711692 - add tiffwrite function for python
- parallel zstd compression
2024-10-09 15:07:38 +02:00
Wim Pomp
82931f7715 rewrite in rust 2024-10-06 20:30:57 +02:00
Wim Pomp
93d62c5345 - make type aliases compatible with python 3.10 2024-10-02 14:03:36 +02:00
Wim Pomp
a733d8a820 - added some type aliases
- an overridden compress_frame in a class subclassing IJTiffWrite can now write multiple frames
2024-10-02 13:58:12 +02:00
Wim Pomp
ba73ae522a - add null byte add end of description
- do not raise Exception when frame 0 was not added so that the external error causing it can be debugged
2024-04-26 14:14:14 +02:00
Wim Pomp
0fc1d9e492 - mypy install fix 2024-03-27 16:12:49 +01:00
Wim Pomp
3652947817 - Tiffwrite is now fully typed. 2024-03-27 16:03:34 +01:00
Wim Pomp
5c6bdb264d - Check for existence of astype. 2024-02-26 18:47:57 +01:00
Wim Pomp
0e5202bf19 - Require imagecodecs. 2024-02-14 15:02:23 +01:00
Wim Pomp
43b6a48049 - Switch to zstd compression as default.
- Only warn if frames are missing when the file is closed, allowing the user to debug the error causing missing frames.
2024-02-14 14:54:13 +01:00
Wim Pomp
e736770512 - Use parfor to take care of the parallel part.
- Use sha1 hash because it's consistent between processes.
2023-09-11 17:12:04 +02:00
Wim Pomp
f68afd0a1b - Only test Python 3.10 2023-03-31 13:09:57 +02:00
Wim Pomp
332eaab6d5 - Properly define pytest as an extra dependency 2023-03-31 12:53:09 +02:00
Wim Pomp
6689b1eab3 - Use spawn in stead of fork so that any jvm will not exist in any child processes and block them from stopping.
- Use poetry for install.
2023-03-31 12:01:25 +02:00