From b2b095ec6f09928f828b799db38d336ddb9ec1aa Mon Sep 17 00:00:00 2001 From: Jakob Haufe Date: Tue, 8 Aug 2017 14:57:44 +0200 Subject: [PATCH] Order page offsets numerically in YAML file This is a convenience change only, makes it a little easier to navigate that file. --- pdfstitch | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2