How do I convert image files to PDF?

Q: I need to know if the PDFtron will let me convert image files to
I am looking to convert attachments to PDF from within an ASP page on
the web to PDF.
A: You can convert (i.e. embed) different image formats to PDF as
illustrated in AddImage sample project (
samplecode.html#AddImage). You may also want to take a look at PDFView
sample project ( which
shows how to open and view TIFF, JPEG, JPEG2000, JBIG2, GIF, PNG, and
BMP by dynamically converting the image to PDF (please see OpenImage()
method in PDFViewForm.cs)