From c2f4a1d3a24823b30f7c74cd95a88d9ab895353f Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 28 May 2022 00:02:24 +1000 Subject: [PATCH] Added EMF [ci skip] --- docs/handbook/image-file-formats.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index 8591ab2a600..f9ae9c33318 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -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 @@ -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