Skip to content

Commit

Permalink
Release v2024.8.30
Browse files Browse the repository at this point in the history
  • Loading branch information
cgohlke committed Aug 31, 2024
1 parent 0a2c008 commit 79f13ed
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ many proprietary metadata formats.

:Author: `Christoph Gohlke <https://www.cgohlke.com>`_
:License: BSD 3-Clause
:Version: 2024.8.28
:Version: 2024.8.30
:DOI: `10.5281/zenodo.6795860 <https://doi.org/10.5281/zenodo.6795860>`_

Quickstart
Expand Down Expand Up @@ -87,9 +87,13 @@ This revision was tested with the following requirements and dependencies
Revisions
---------

2024.8.28
2024.8.30

- Pass 5096 tests.
- Support writing OME Dataset and some StructuredAnnotations elements.

2024.8.28

- Fix LSM scan types and dimension orders (#269, breaking).
- Use IO[bytes] instead of BinaryIO for typing (#268).

Expand Down Expand Up @@ -649,9 +653,9 @@ Create a TIFF file from a generator of tiles:
... )
Write a multi-dimensional, multi-resolution (pyramidal), multi-series OME-TIFF
file with metadata. Sub-resolution images are written to SubIFDs. Limit
parallel encoding to 2 threads. Write a thumbnail image as a separate image
series:
file with optional metadata. Sub-resolution images are written to SubIFDs.
Limit parallel encoding to 2 threads. Write a thumbnail image as a separate
image series:

.. code-block:: python
Expand All @@ -670,6 +674,12 @@ series:
... 'PhysicalSizeYUnit': 'µm',
... 'Channel': {'Name': ['Channel 1', 'Channel 2']},
... 'Plane': {'PositionX': [0.0] * 16, 'PositionXUnit': ['µm'] * 16},
... 'Description': 'A multi-dimensional, multi-resolution image',
... 'MapAnnotation': { # for OMERO
... 'Namespace': 'openmicroscopy.org/PyramidResolution',
... '1': '256 256',
... '2': '128 128',
... },
... }
... options = dict(
... photometric='rgb',
Expand Down Expand Up @@ -783,14 +793,14 @@ to it via the Zarr interface (note: this does not work with compression):
.. code-block:: python
>>> imwrite(
... 'temp.ome.tif',
... 'temp2.ome.tif',
... shape=(8, 800, 600),
... dtype='uint16',
... photometric='minisblack',
... tile=(128, 128),
... metadata={'axes': 'CYX'},
... )
>>> store = imread('temp.ome.tif', mode='r+', aszarr=True)
>>> store = imread('temp2.ome.tif', mode='r+', aszarr=True)
>>> z = zarr.open(store, mode='r+')
>>> z
<zarr.core.Array (8, 800, 600) uint16>
Expand Down

0 comments on commit 79f13ed

Please sign in to comment.