Click here to Skip to main content
13,050,319 members (119,584 online)
Rate this:
Please Sign up or sign in to vote.
See more:
How to convert an non image file into an image file
Posted 14-Jan-13 20:43pm
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.

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
fakeer muhammed 16-Jan-13 23:31pm
Mo`9hee . i didnt find any solution
fakeer muhammed 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
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.
Rate this: bad
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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 17 Jan 2013
Copyright © CodeProject, 1999-2017
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