Skip to content

Commit 8d08122

Browse files
authored
Merge pull request #7503 from radarhere/olefile
2 parents 44062ec + 84e148e commit 8d08122

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ build_script:
4343

4444
test_script:
4545
- cd c:\pillow
46-
- '%PYTHON%\%EXECUTABLE% -m pip install pytest pytest-cov pytest-timeout'
46+
- '%PYTHON%\%EXECUTABLE% -m pip install pytest pytest-cov pytest-timeout defusedxml numpy olefile pyroma'
4747
- c:\"Program Files (x86)"\"Windows Kits"\10\Debuggers\x86\gflags.exe /p /enable %PYTHON%\%EXECUTABLE%
4848
- '%PYTHON%\%EXECUTABLE% -c "from PIL import Image"'
4949
- '%PYTHON%\%EXECUTABLE% -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests'

.github/workflows/test-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ jobs:
6565
- name: Print build system information
6666
run: python3 .github/workflows/system-info.py
6767

68-
- name: python3 -m pip install pytest pytest-cov pytest-timeout defusedxml
69-
run: python3 -m pip install pytest pytest-cov pytest-timeout defusedxml
68+
- name: python3 -m pip install pytest pytest-cov pytest-timeout defusedxml olefile pyroma
69+
run: python3 -m pip install pytest pytest-cov pytest-timeout defusedxml olefile pyroma
7070

7171
- name: Install dependencies
7272
id: install

docs/handbook/image-file-formats.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,8 @@ Pillow reads Kodak FlashPix files. In the current version, only the highest
12961296
resolution image is read from the file, and the viewing transform is not taken
12971297
into account.
12981298

1299+
To enable FPX support, you must install olefile.
1300+
12991301
.. note::
13001302

13011303
To enable full FlashPix support, you need to build and install the IJG JPEG
@@ -1372,6 +1374,8 @@ the first sprite in the file is loaded. You can use :py:meth:`~PIL.Image.Image.s
13721374

13731375
Note that there may be an embedded gamma of 2.2 in MIC files.
13741376

1377+
To enable MIC support, you must install olefile.
1378+
13751379
MPO
13761380
^^^
13771381

0 commit comments

Comments
 (0)