Reputation: 155
I have recently included MuPDF
in my project for loading PDF files, I want to Implement magnifier feature for the PDF.
I have looked over the documentation I could not find anyway to send a rect of X to MuPDF
and respond with bitmap.
Any guidance or help would be greatly appreciated.
Upvotes: 1
Views: 852
Reputation: 72312
Use fz_new_pixmap_with_bbox
. The simple example included in the package should give you a starting point.
Upvotes: 1