mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 05:31:25 +02:00
12 lines
449 B
Diff
12 lines
449 B
Diff
--- a/tests/__init__.py
|
|
+++ b/tests/__init__.py
|
|
@@ -34,7 +34,7 @@
|
|
pdf = io.BytesIO()
|
|
document.write(pdf)
|
|
command = [
|
|
- 'gs', '-q', '-dNOPAUSE', '-dSAFER', '-sDEVICE=png16m',
|
|
+ 'gs', '-q', '-dNOPAUSE', '-dNEWPDF=false', '-dSAFER', '-sDEVICE=png16m',
|
|
'-r576', '-dDownScaleFactor=8', '-sOutputFile=-', '-']
|
|
png = run(command, input=pdf.getvalue(), stdout=PIPE).stdout
|
|
image = Image.open(io.BytesIO(png))
|