Fixing PDF bitmappign bug; adding ability to regen bitmaps

This commit is contained in:
Rick Falkvinge
2017-08-23 18:44:15 +02:00
parent 569ad165c7
commit 1e822ca4ed
6 changed files with 143 additions and 3 deletions
+9
View File
@@ -166,6 +166,15 @@ namespace Swarmops.Backend
return;
}
if (args[0].ToLowerInvariant() == "pdfregen")
{
Console.WriteLine("Regenerating all bitmaps from PDF uploads.");
PdfProcessor.RegenerateAll();
Console.WriteLine("Done.");
return;
}
if (args[0].ToLower() == "rsm")
{
Console.WriteLine ("Testing character encoding: räksmörgås RÄKSMÖRGÅS");