From: Jakob Haufe Date: Tue, 8 Aug 2017 12:57:44 +0000 (+0200) Subject: Order page offsets numerically in YAML file X-Git-Tag: v0.5^0 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b2b095ec6f09928f828b799db38d336ddb9ec1aa;p=pdfstitch Order page offsets numerically in YAML file This is a convenience change only, makes it a little easier to navigate that file. --- diff --git a/pdfstitch b/pdfstitch index eb82b62..9a6cf9b 100755 --- a/pdfstitch +++ b/pdfstitch @@ -124,6 +124,7 @@ if($genmeta) } YAML::Bless($meta)->keys(['input','x','y','width','height','columns','rows', 'pageorder','pageoffsets']); + YAML::Bless($meta->{pageoffsets})->keys([1..$pdf->pages]); YAML::DumpFile($outfile,$meta); } else