Click here to Skip to main content
11,494,964 members (65,401 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# .NET
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 Smile | :)
Posted 3-Feb-13 21:39pm
Comments
Sergey Alexandrovich Kryukov at 4-Feb-13 3:43am
   
To start with, you should not use PictureBox...
—SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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[^]
  Permalink  
Comments
Sergey Alexandrovich Kryukov at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Try this:

Converting Image Files to PDF[^]

hope it helps Smile | :)
  Permalink  
Comments
Sergey Alexandrovich Kryukov at 4-Feb-13 3:46am
   
Can be useful, a 5.
—SA
Uday P.Singh at 4-Feb-13 4:30am
   
thank you SA :)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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
  Permalink  

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

  Print Answers RSS
0 Dnyaneshwar@Pune 692
1 Sergey Alexandrovich Kryukov 350
2 CHill60 318
3 Sascha Lefèvre 280
4 Nakul Chaudhari 236
0 Sergey Alexandrovich Kryukov 10,297
1 OriginalGriff 8,821
2 Sascha Lefèvre 3,864
3 Maciej Los 3,412
4 Richard Deeming 2,500


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 11 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100