Tweak logging

This commit is contained in:
Matthias Bisping 2023-02-09 16:08:25 +01:00
parent 55bdd48d2a
commit bd6d83e736

View File

@ -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.")
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)
soft_mask_reference = cross_reference.bind(get_soft_mask_reference)