0

How can I use the mupdf API to convert pdf to bitmap in arm platform with the C language?

Chris Martin
  • 30,334
  • 10
  • 78
  • 137
pang1567
  • 125
  • 7
  • Please see my related question: http://stackoverflow.com/questions/30858689/using-mupdf-with-curl-flip-effect – Dr.jacky Jun 16 '15 at 06:05

1 Answers1

0

The mudraw sample code already does this, can't you either just use it as is, or look at that for clues ?

KenS
  • 30,202
  • 3
  • 34
  • 51
  • thanks!The example.c can convert pdf to png,but i want convert pgm.so i search the bitmap.h found mupdf can convert pdf to pbm,and i want add a new FUNC convert pdf to pgm ,did i'm right? – pang1567 Nov 11 '14 at 09:08
  • I'm afraid I'm not an expert, but broadly speaking if you want a new file format you will have to add something like that yes. You might try going to the #ghostscript channel on irc.freenode.net and asking there, the MuPDF developers will often answer questions there (but be prepared to wait a bit, just ask your question and hang around, or check back later, the channel is logged) – KenS Nov 11 '14 at 09:25