Commit Graph

34 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
7678585bba - some more threading 2024-10-09 20:30:45 +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
52785037b9 - can now save the common types 2024-10-09 12:05:11 +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
77b9e432db - mypy workflow fix 2024-03-27 16:07:48 +01:00
Wim Pomp
a799bfae41 - mypy workflow fix 2024-03-27 16:05:59 +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
506ee461cb - PyTest workflow 2023-03-31 12:46:04 +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
Wim Pomp
4fceb59867 - Windows compatibility (no forking -> no sharing open file descriptors) 2022-10-16 14:10:12 +02:00
Wim Pomp
86e4b28499 - multiprocessing options 2022-10-12 17:01:29 +02:00
Wim Pomp
1e0c897e4c - compression option
- comment option
2022-10-11 16:34:00 +02:00
Wim Pomp
41006c62bc - warn instead of raise error when file is empty upon closing 2022-07-01 10:32:02 +02:00
Wim Pomp
c09bba61bc - newest tifffile requires keyword arguments 2022-05-19 16:12:56 +02:00
Wim Pomp
d0a33de804 - Grayscale or composite 2022-05-12 09:22:20 +02:00
Wim Pomp
0e52125542 - set mode to composite 2022-05-05 10:25:12 +02:00
Wim Pomp
68980a9e4f - bugfix in writing pxsize and other fractions 2022-05-05 09:49:39 +02:00
Wim Pomp
edc126d079 Rewrite: IJTiffWriter is replaced by IJTiffFile which includes preliminary support for reading.
- Support colormaps per channels via the colors argument.
- No writer process anymore, the pool writes to the file by using a filehandle with a lock.
- Can save extra tiff tags in every frame and/or per frame individually.
- Header and IFD classes with support for reading files.
- Multiplexing is now done automatically when multiple IJTiffFiles are initialized: the process pool is shared by all IJTiffFiles.
2022-05-03 16:10:13 +02:00
Wim Pomp
e7b999faa7 - First commit. 2021-12-03 16:23:54 +01:00
wimpomp
2fd65d8f01 Initial commit 2021-12-03 15:09:40 +01:00