I am working with PyMuPDF wich can return pixmap associated with image from the pdf filepath. To work with numpy array i use the following function and understood that the &