mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Explitly import JpegPresets from the PIL package
This commit is contained in:
parent
887f709b6e
commit
f50feb592b
|
@ -36,7 +36,7 @@ __version__ = "0.6"
|
||||||
|
|
||||||
import array, struct
|
import array, struct
|
||||||
from PIL import Image, ImageFile, _binary
|
from PIL import Image, ImageFile, _binary
|
||||||
from JpegPresets import presets
|
from PIL.JpegPresets import presets
|
||||||
|
|
||||||
i8 = _binary.i8
|
i8 = _binary.i8
|
||||||
o8 = _binary.o8
|
o8 = _binary.o8
|
||||||
|
|
Loading…
Reference in New Issue
Block a user