Skip to content

Commit

Permalink
Added EMF [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed May 27, 2022
1 parent 8b84e4c commit c2f4a1d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/handbook/image-file-formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1247,13 +1247,13 @@ this format.
By default, a Quake2 standard palette is attached to the texture. To override
the palette, use the putpalette method.

WMF
^^^
WMF, EMF
^^^^^^^^

Pillow can identify WMF files.
Pillow can identify WMF and EMF files.

On Windows, it can read WMF files. By default, it will load the image at 72
dpi. To load it at another resolution:
On Windows, it can read WMF and EMF files. By default, it will load the image
at 72 dpi. To load it at another resolution:

.. code-block:: python
Expand All @@ -1263,7 +1263,8 @@ dpi. To load it at another resolution:
im.load(dpi=144)
To add other read or write support, use
:py:func:`PIL.WmfImagePlugin.register_handler` to register a WMF handler.
:py:func:`PIL.WmfImagePlugin.register_handler` to register a WMF and EMF
handler.

.. code-block:: python
Expand Down

0 comments on commit c2f4a1d

Please sign in to comment.