MCPcopy Index your code
hub / github.com/pymupdf/PyMuPDF / colorspace

Method colorspace

src/__init__.py:13601–13606  ·  view source on GitHub ↗

Pixmap Colorspace.

(self)

Source from the content-addressed store, hash-verified

13599
13600 @property
13601 def colorspace(self):
13602 """Pixmap Colorspace."""
13603 cs = Colorspace(mupdf.fz_pixmap_colorspace(self.this))
13604 if cs.name == "None":
13605 return None
13606 return cs
13607
13608 def copy(self, src, bbox):
13609 """Copy bbox from another Pixmap."""

Callers 5

extract_imageMethod · 0.80
_insert_imageMethod · 0.80
extractBLOCKSMethod · 0.80
JM_image_profileFunction · 0.80

Calls 1

ColorspaceClass · 0.85

Tested by

no test coverage detected