Preparing to rerasterize hires at 300dpi

This commit is contained in:
Rick Falkvinge
2018-02-22 06:17:55 +01:00
parent 8ae51f4acc
commit 4cc55175ac
+2 -2
View File
@@ -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();