How to Convert Images(jpeg, PNG, GIF etc) to PDF in asp.net [Resolved]

Posted by Sivakumar.S under ASP.NET on 11/30/2012 | Points: 10 | Views : 3010 | Status : [Member] | Replies : 5
Hi,

Can anyone explain that how to convert images ((jpeg, PNG, GIF etc) to PDF using asp.net with Step by Step

Regards

siva


Responses

Posted by: Caroline on: 4/19/2013 [Member] Starter | Points: 50

Up
0
Down

Resolved
this image to pdf example, any futher question, please check http://www.rasteredge.com/how-to/vb-net-imaging/convert-pdf-to-image/
Imports System.IO
Imports System.Drawing.Printing
Imports RasterEdge.Imaging
Imports RasterEdge.Imaging.Processing
Imports RasterEdge.Imaging.Converting.ImagetoPDF

RasterEdgeImaging Image = new RasterEdgeImaging();
{
ImageInputFile = (@"C:/1.png");
}
Image.Save(@"C:/1.png",@"C:/1.pdf");

Sivakumar.S, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Barcodelib on: 10/28/2013 [Member] Starter | Points: 25

Up
0
Down
To convert image to PDF, you have to decode source image to bitmap and then save bitmap to PDF. More details at http://www.rasteredge.com/how-to/asp-net-imaging/image-converting/

Sivakumar.S, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Evanpan on: 11/28/2015 [Member] Starter | Points: 25

Up
0
Down
How about this pdf to png conversion tutorial?
http://www.pqscan.com/convert-pdf/to-png-csharp.html
I hope it helps.

Sivakumar.S, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Tommyluck on: 1/7/2016 [Member] Starter | Points: 25

Up
0
Down
You can use iTextSharp:
http://stackoverflow.com/questions/30523645/converting-images-to-pdf-with-itextsharp-preserve-clipping-path
Or Lead Tools:
http://support.leadtools.com/SupportPortal/CS/forums/44561/ShowPost.aspx

Sivakumar.S, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Tommyluck on: 1/7/2016 [Member] Starter | Points: 25

Up
0
Down
You can use iTextSharp:
http://stackoverflow.com/questions/30523645/converting-images-to-pdf-with-itextsharp-preserve-clipping-path
Or Lead Tools:
http://support.leadtools.com/SupportPortal/CS/forums/44561/ShowPost.aspx

Sivakumar.S, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response