From 4cc55175acf00ddf1aa68e682572011e2cda01eb Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Thu, 22 Feb 2018 06:17:55 +0100 Subject: [PATCH] Preparing to rerasterize hires at 300dpi --- Logic/Support/PdfProcessor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Logic/Support/PdfProcessor.cs b/Logic/Support/PdfProcessor.cs index 493ee8fb..8bda03c8 100644 --- a/Logic/Support/PdfProcessor.cs +++ b/Logic/Support/PdfProcessor.cs @@ -341,9 +341,9 @@ namespace Swarmops.Logic.Support Console.Write(@"Regenerating document #{0}", startId); Process process = Process.Start("bash", - "-c \"convert -density 600 -background white -alpha remove " + StorageRoot + firstPart + " " + + "-c \"convert -density 300 -background white -alpha remove " + StorageRoot + firstPart + " " + StorageRoot + firstPart + - "-%04d.png\""); // Density 600 means 600dpi means production-grade conversion + "-%04d-hires.png\""); // Density 300 means 600dpi means production-grade conversion process.WaitForExit();