I want to open a pdf and convert it to tiff. The API shows this:
LoadInput(Byte inputBuffer, …)
Where inputBuffer is “The memory buffer containing the input document to be imported into PDF2IMG”.
My question is, how do I fill that buffer with the PDF file? Do I just say “LoadImput( “c:\temp\mypdf.pdf”) ?
Or do I have to create a buffer and load it? And how would I do that using C#? Is there an example program somewhere?
Having the file name like that in LoadInput would be acceptable. Something like this:
You can then use ConvertPageToImage or ConvertAllPagesToTIFFImage as your next API call to get what you want done.
You can find more information about these APIs and all the others here:
Please login or Register to submit your answer