Click here to Skip to main content
15,885,956 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have made an app for scanning image with WIA now as image is in picture box.
is there any method to convert those images in pdf format ?
thnx in advance :)
Posted
Comments
Sergey Alexandrovich Kryukov 4-Feb-13 3:43am    
To start with, you should not use PictureBox...
—SA

You can not "convert" an image to pdf. A pdf is a docuemnt format, you can only add an image to a pdf document. You can use iTextSharp for example: http://www.mikesdotnetting.com/Article/87/iTextSharp-Working-with-images[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 4-Feb-13 3:45am    
A 5, but... such operation as "convert to PDF" is used in practice, but of course it is something like you say... You may call this expression a figure of speech. :-)
—SA
Try this:

Converting Image Files to PDF[^]

hope it helps :)
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 4-Feb-13 3:46am    
Can be useful, a 5.
—SA
Uday P.Singh 4-Feb-13 4:30am    
thank you SA :)
From what I understood, it seems that the image is containing text and you want to convert it to PDF. Is this correct?

If yes, you will need to use the OCR for that. OCR will recognize characters from the image and saves is as PDF. I know a third-party SDK that support OCRing images and save them as PDF. There is an online demo you can try. Here is the link for the demo:

Online Recognition Demo
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900