Sammy
Sammy

Reputation: 155

How to Implement Zoom Magnifier in MuPDF

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

Answers (1)

lhf
lhf

Reputation: 72312

Use fz_new_pixmap_with_bbox. The simple example included in the package should give you a starting point.

Upvotes: 1

Related Questions