Tweak logging
This commit is contained in:
parent
55bdd48d2a
commit
bd6d83e736
@ -226,6 +226,8 @@ def has_alpha_channel(doc: Doc, xref: int) -> bool:
|
|||||||
logger.trace(f"Checking if image with reference {reference} has alpha channel.")
|
logger.trace(f"Checking if image with reference {reference} has alpha channel.")
|
||||||
return _extract_pixmap(reference).then(attrgetter("alpha")).then(bool)
|
return _extract_pixmap(reference).then(attrgetter("alpha")).then(bool)
|
||||||
|
|
||||||
|
logger.debug(f"Checking if image with cross reference {xref} has alpha channel.")
|
||||||
|
|
||||||
cross_reference = Right(xref)
|
cross_reference = Right(xref)
|
||||||
soft_mask_reference = cross_reference.bind(get_soft_mask_reference)
|
soft_mask_reference = cross_reference.bind(get_soft_mask_reference)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user