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 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=be62e1990457b399f7da5d59e38830796ec707fd;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