Click here to Skip to main content Click here to Skip to main
content  Rendering PDF Documents with Mupdf and P/Invoke in C#
, 9 Oct 2014 CPL Rate this: Please Sign up or sign in to vote.
Converting PDF into bitmaps without installing extra components.
I've been looking for a PDF rendering engine on .NET Framework
for quite a few years. However, there is NO free, native .NET
based one available on this planet yet. At the end, I was
attracted by a GNU licensed, fast and slim PDF rendering engine
--Mupdf, and wrote my own C# wrapper for it.   This article will
introduce the first steps on writing such a P/Invoke based C#
wrapper for the Mupdf engine and render PDF pages into picture
files.    Background and relative projects    During the search
for PDF render engines, I found two projects providing C#
interfaces nicely. The libraries provided by these two projects
can be used to render PDF pages using C#.  The first project was
initially posted here on, titled View PDF files in C# using the
Xpdf and muPDF an