Hi I have an initiative of converting bunch of different f开发者_如何转开发ormats such as Word, PDF, png, jpg, excel files into '1 bit png' files and store them in the database.
I need to use .net framework for this. Do you guys know any tools that can do this, I want some tools or API that I can buy. I am pretty sure I would need more than one tool for doing this, which is fine.
What would be the best way to do this? It is possible to convert them all to TIFF format and then convert them to png?
Thanks
This is close to a duplicate of Is there a programming toolkit for converting “any file type” to a TIFF image?. I'll just repeat what I wrote at that time:
This is an integration project - there is no one tool that will read all of the file types you're interested in. In our case, we developed a generic transcoding service that accepts numerous input types (by file extension) and executes external applications based on that type:
- Ghostscript for PDF and PS files,
- ImageMagick for image files,
- Apose.NET for Office types, and
- some homegrown stuff for simpler types like text files.
We haven't found an application that will interpret Visio files of all versions other than Visio itself. And as you may already know, Office Interop should not be used on a server.
精彩评论