Create multilayer PDF files

Create a new multilayer PDF file from multiple picture files which are viewable as a single page that shows stacked layers of pictures which can be turned on or off. This offers great new possibilities for creating smarter PDF's.
For example you could add a company logo, or a form layout as a separate layer which can be turned on or off.

To create a multilayer PDF document from the input picture files(GIF, JPG, TIF, PCX, BMP, ...) use the -l switch.
In addition use the following arguments
  -m ... Semicolon separated list of filemasks like *.gif;*.jpg;...

thbpdf.exe -l -w "c:\Folder with pictures" -f "c:\newmultilayerpdf.pdf"
thbpdf.exe -l -w "c:\Folder with pictures" -m "*.jpg" -f "c:\newmultilayerpdf.pdf" -o "c:\pdf.log"

When displaying multiple pictures stacked one over the other it is often useful to apply a image mask to make the background transparent. You can do this by storing a mask image file along with the picture and name it like the picture itself with the extension '_mask' "c:\picture.jpg" "c:\picture_mask.tif" THBPdf will apply the mask if it finds it.