mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 20:27:06 +03:00
Remove unused packages
This commit is contained in:
parent
b685c18e95
commit
cc1e78ccdf
|
@ -19,11 +19,8 @@
|
||||||
|
|
||||||
import io
|
import io
|
||||||
import os
|
import os
|
||||||
import shutil
|
|
||||||
import struct
|
import struct
|
||||||
import subprocess
|
|
||||||
import sys
|
import sys
|
||||||
import tempfile
|
|
||||||
|
|
||||||
from PIL import Image, ImageFile, PngImagePlugin
|
from PIL import Image, ImageFile, PngImagePlugin
|
||||||
from PIL._binary import i8
|
from PIL._binary import i8
|
||||||
|
@ -363,7 +360,6 @@ def _save(im, fp, filename):
|
||||||
Image.register_open(IcnsImageFile.format, IcnsImageFile, lambda x: x[:4] == b"icns")
|
Image.register_open(IcnsImageFile.format, IcnsImageFile, lambda x: x[:4] == b"icns")
|
||||||
Image.register_extension(IcnsImageFile.format, ".icns")
|
Image.register_extension(IcnsImageFile.format, ".icns")
|
||||||
|
|
||||||
# if sys.platform == "darwin":
|
|
||||||
Image.register_save(IcnsImageFile.format, _save)
|
Image.register_save(IcnsImageFile.format, _save)
|
||||||
Image.register_mime(IcnsImageFile.format, "image/icns")
|
Image.register_mime(IcnsImageFile.format, "image/icns")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user