If a page have vector content, promote to full color
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user