[poppler] regtest/backends

Albert Astals Cid aacid at kemper.freedesktop.org
Sun Sep 18 09:38:42 PDT 2011


 regtest/backends/splash.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6512bf1c5dab37058460882fec3407b396830981
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Sep 18 18:38:32 2011 +0200

    Render at 72 instead of 150, it's faster :D

diff --git a/regtest/backends/splash.py b/regtest/backends/splash.py
index bc5e448..5fbfba6 100644
--- a/regtest/backends/splash.py
+++ b/regtest/backends/splash.py
@@ -28,8 +28,8 @@ class Splash(Backend):
 
     def create_refs(self, doc_path, refs_path):
         out_path = os.path.join(refs_path, 'splash')
-        p1 = subprocess.Popen([self._pdftoppm, '-cropbox', '-e', '-png', doc_path, out_path], stderr = subprocess.PIPE)
-        p2 = subprocess.Popen([self._pdftoppm, '-cropbox', '-o', '-png', doc_path, out_path], stderr = subprocess.PIPE)
+        p1 = subprocess.Popen([self._pdftoppm, '-cropbox', '-r', '72', '-e', '-png', doc_path, out_path], stderr = subprocess.PIPE)
+        p2 = subprocess.Popen([self._pdftoppm, '-cropbox', '-r', '72', '-o', '-png', doc_path, out_path], stderr = subprocess.PIPE)
         return self._check_exit_status2(p1, p2, out_path)
 
     def _create_diff(self, ref_path, result_path):


More information about the poppler mailing list