If a page have vector content, promote to full color

This commit is contained in:
James R. Barlow
2019-06-22 00:59:04 -07:00
parent c357d4146e
commit c32ea3b374
+3
View File
@@ -428,6 +428,9 @@ def rasterize(
else:
device_idx = at_least('png16m')
if pageinfo.has_vector:
device_idx = at_least('png16m')
device = colorspaces[device_idx]
page_context.log.debug(f"Rasterize with {device}")