Click here to Skip to main content
15,936,565 members
Please Sign up or sign in to vote.
1.25/5 (4 votes)
See more:
How to convert an non image file into an image file
Posted
Comments
Sergey Alexandrovich Kryukov 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ő 15-Jan-13 2:50am    
Convert a mp3 to a png for example? Are you serious?
fakeer muhammed 15-Jan-13 3:55am    
i need to convert all files into Image files ..........That is Excel and PDF
fakeer muhammed 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 16-Jan-13 2:16am    
i think u misunderstood............ I need to convert Excel and PDF to image Files

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.
 
Share this answer
 
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.
 
Share this answer
 
v2

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