Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
How to convert an non image file into an image file
Posted 14-Jan-13 20:43pm
Comments
Sergey Alexandrovich Kryukov at 15-Jan-13 2:49am
   
This question makes no sense at all. "Non-image file" is not a definition of anything certain. This is the same as "how to convert anything at all to an image file". There is no "convert" which could possibly be defined.
 
—SA
Zoltán Zörgő at 15-Jan-13 2:50am
   
Convert a mp3 to a png for example? Are you serious?
fakeer muhammed at 15-Jan-13 3:55am
   
i need to convert all files into Image files ..........That is Excel and PDF
fakeer muhammed at 16-Jan-13 2:00am
   
i didnt understand and i need to do programatically and i dont want to print it... I just want to show
 

fakeer muhammed at 16-Jan-13 2:16am
   
i think u misunderstood............ I need to convert Excel and PDF to image Files
fakeer muhammed at 16-Jan-13 23:31pm
   
Mo`9hee . i didnt find any solution
fakeer muhammed at 20-Jan-13 23:23pm
   
hi Lina99... i have stored the document in DataBase in Bytes .Now i want to convert bytes into File Format.......
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

The process of converting document files (like text, excel..etc) is called rasterization. However, this will not work on all file types (for example audio).
In my application I used leadtools to load document files (text, excel, doc and pdf) to an image then draw some annotations on it then save the result as jpeg images.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

All files = excel and PDf... interesting.
1) Install PdfCreator[^] PDF printer
2) Set up this printer to print to image instead of pdf. You can select several image formats.
2) Using interop and/or verbs print your documents to this printer
There you have them.
  Permalink  
v2

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

  Print Answers RSS
0 CPallini 355
1 BillWoodruff 334
2 George Jonsson 279
3 Sergey Alexandrovich Kryukov 243
4 Gihan Liyanage 225
0 OriginalGriff 5,095
1 CPallini 4,285
2 Sergey Alexandrovich Kryukov 3,767
3 George Jonsson 2,941
4 Gihan Liyanage 2,386


Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 17 Jan 2013
Copyright © CodeProject, 1999-2014
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