wx_4.0.0a1 : demo->PDFViewer

uwe <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Hi,
  I had to replace .FromBufferRGBA with .FromBuffer in  line 518 of
  wx/lib/pdfviewer/viewer.py to get the demo working . It seems that
  the PyMuPDF (PyMuPDF-1.10.0) object fitz.fitz.Pixmap does not
  provide the alpha channel information. The len of pix.samples was
  pix.width*pix.height*3 .  pix.alpha was 0.
  Environment: ubuntu 17.04, python_3.6.1, mupdf 1.10a .

regards
   Uwe 

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.