0

alpha_over warning will now only print once per run

This commit is contained in:
Aaron Griffith
2011-01-01 19:00:44 -05:00
parent 0ab56ce1d9
commit c43e7c0dbf
2 changed files with 4 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ try:
from _composite import alpha_over as _extension_alpha_over
extension_alpha_over = _extension_alpha_over
except ImportError:
logging.warning("alpha_over extension not found; using default PIL paste()")
pass
def alpha_over(dest, src, pos_or_rect=(0, 0), mask=None):
"""Composite src over dest, using mask as the alpha channel (if