diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d17bb1c..d15b061 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,6 +60,8 @@ jobs: - uses: extractions/setup-just@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Set up FFMPEG + uses: FedericoCarboni/setup-ffmpeg@v3 - name: Install Dependencies run: | python -m pip install --upgrade pip diff --git a/bioio_imageio/reader_metadata.py b/bioio_imageio/reader_metadata.py index 8959167..bca2e80 100644 --- a/bioio_imageio/reader_metadata.py +++ b/bioio_imageio/reader_metadata.py @@ -77,7 +77,8 @@ def get_supported_extensions() -> List[str]: "mpo", "msp", "pdf", - "png" "ppm", + "png", + "ppm", "ps", "zif", ] diff --git a/bioio_imageio/tests/test_reader.py b/bioio_imageio/tests/test_reader.py index 322ee82..ced9c9b 100644 --- a/bioio_imageio/tests/test_reader.py +++ b/bioio_imageio/tests/test_reader.py @@ -15,10 +15,10 @@ @pytest.mark.parametrize( "filename, set_scene, expected_shape, expected_dims_order", [ - ("example.bmp", "Image:0", (480, 640, 4), "YXS"), + ("example.bmp", "Image:0", (480, 640, 3), "YXS"), ("example.png", "Image:0", (800, 537, 4), "YXS"), ("example.jpg", "Image:0", (452, 400, 3), "YXS"), - ("example.gif", "Image:0", (72, 268, 268, 4), "TYXS"), + ("example.gif", "Image:0", (72, 268, 268, 3), "TYXS"), ( "example_invalid_frame_count.mp4", "Image:0", diff --git a/pyproject.toml b/pyproject.toml index cf1321b..b1b0d0a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dependencies = [ "bioio-base>=0.3.0", "dask[array]>=2021.4.1", "fsspec>=2022.8.0", - "imageio[ffmpeg]>=2.11.0,<2.28.0", + "imageio[ffmpeg]>=2.31.0", "numpy>=1.21.0", "Pillow>=9.3.0", "xarray>=2022.6.0",