The Aloaha Image2PDF API allows the user to convert any standard image such as BMP, GIF, TIF, JPG, PNG to PDF. Multipage TIF documents are supported as well.
You need to make sure that Aloaha is properly licensed. Otherwise the code samples will not work. To get an evaluation key please contact aloaha@aloaha.de
Please find the sample below:
Dim aloahapdf As Object
Dim dummy As String
Set aloahapdf = CreateObject(“aloahapdf.edit”)
dummy = aloahapdf.advanced_im2pdf(“d:\DSCF0821.JPG”, “d:\niels.pdf”, True, 25)
Set aloahapdf = Nothing
Please also note that the Aloaha PDF Server included a IMG2PDF hotfolder!