mupdf: how to put a fz_pixmap into Qt4 QPixmap

2019-09-14 14:06发布

问题:

I am trying to exploit mupdf library (Qt4 app). I have taken some code from pdfdraw.c. I was able to create a pixmap (fz_pixmap) from a pdf page. Now I need to display the pixmap. It is likely I can use QPixmap but I ask how to do so.