c# - convert pdf to image using .net 3.5 -


i need convert archive pdf in image, after lot of searches , tries tried abcpdf lib , , version of .net(3.5) used incompatible. tried spire lib , , result unsatisfactory , low quality

private list<string> converterpdf(string path, string filename, string extensao) {     list<string> listaarquivos = new list<string>();     spire.pdf.pdfdocument doc = new spire.pdf.pdfdocument();     doc.loadfromfile(path + filename + extensao);     (int = 0; < doc.pages.count; i++)     {         bitmap bmp = (bitmap)doc.saveasimage(i);         bmp.save(path + filename + ".bmp");         listaarquivos.add(path + "@" + filename + "@" + ".bmp");     }     return listaarquivos; } 

some posts here in stack, , nothing can use make work. idea how can resolve ?

the problem won't find free decent , native pdf rendering api on .net framework.

here solution using great c/c++ api through p/invoke. author gives detailed explanation on how integrate api application , how use it

http://www.codeproject.com/articles/498317/rendering-pdf-documents-with-mupdf-and-p-invoke-in


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -