Commit Graph

54 Commits

Author SHA1 Message Date
Wim Pomp
8b4e020bb0 - workflows 2024-10-16 16:04:25 +02:00
Wim Pomp
e07e636423 - workflows 2024-10-16 15:59:04 +02:00
Wim Pomp
d21e5ba499 - workflows 2024-10-16 15:49:44 +02:00
Wim Pomp
8b618b8f8a - workflows 2024-10-16 15:49:21 +02:00
Wim Pomp
f44506966e - workflows 2024-10-16 15:43:05 +02:00
Wim Pomp
13df6f21f2 - workflows 2024-10-16 15:41:54 +02:00
Wim Pomp
54babd106f - workflows 2024-10-16 15:40:33 +02:00
Wim Pomp
2fad446566 - workflows 2024-10-16 15:39:55 +02:00
Wim Pomp
d7b2ae24ca - workflows 2024-10-16 15:29:42 +02:00
Wim Pomp
f33509e404 - workflows 2024-10-16 15:20:24 +02:00
Wim Pomp
b4986fc353 - workflows 2024-10-16 15:08:05 +02:00
Wim Pomp
dc0c3d62aa - workflows 2024-10-16 15:00:20 +02:00
Wim Pomp
3d464312ce - workflows 2024-10-16 14:48:50 +02:00
Wim Pomp
539cb94059 Merge branch 'rs'
# Conflicts:
#	tiffwrite/__init__.py
2024-10-16 14:41:53 +02:00
Wim Pomp
80de0cbe96 - empty commit before merge 2024-10-16 14:41:28 +02:00
Wim Pomp
4451ad7c61 - change publish.yml 2024-10-16 14:36:21 +02:00
Wim Pomp
83c0e221fb - special IJTiffParallel class to help generate frames in parallel
- warning now shows which frames are missing
2024-10-16 14:26:30 +02:00
Wim Pomp
654755ab83 - switch black and white at ends of quantitative colormaps 2024-10-14 19:03:24 +02:00
Wim Pomp
140e7eaf38 - use HashSet for storing tags in ifd
- make offset and count tags short or long if possible
2024-10-13 15:52:52 +02:00
Wim Pomp
95a49bb28e - bump ndarray 2024-10-12 13:30:11 +02:00
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