/ Published in: Perl

Requires PerlMagick.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/usr/bin/perl -w use strict; use Image::Magick; # Bundle a bunch of images into a pdf document # # Matches files in given directory according to given regex # and wraps them in a pdf document # open path or die # build a list of files with full path matching the regex readdir DIR; # do not proceed further if file list empty # call image magick my $status;
Comments
