mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-13 16:54:45 +03:00
Merge pull request #3 from radarhere/pillow_allow_rasterizing_eps_at_arbitrary_resolution
Minor change
This commit is contained in:
commit
3a80d91a52
|
@ -335,7 +335,7 @@ class EpsImageFile(ImageFile.ImageFile):
|
|||
if not self.tile:
|
||||
return
|
||||
# Override the size of the image if specified
|
||||
if not size is None:
|
||||
if size is not None:
|
||||
self.size = size
|
||||
self.im = Ghostscript(self.tile, self.size, self.fp, scale)
|
||||
self.mode = self.im.mode
|
||||
|
|
Loading…
Reference in New Issue
Block a user