Skip to content

Commit

Permalink
Order page offsets numerically in YAML file
Browse files Browse the repository at this point in the history
This is a convenience change only, makes it a little easier to navigate
that file.
  • Loading branch information
sur5r committed Aug 8, 2017
1 parent 674ff5d commit b2b095e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pdfstitch
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2b095e

Please sign in to comment.