Closed gatoatigrado closed 5 years ago
Sorry I was a bit overzealous, and did not handle bboxes correctly ... it seems gdk3 pixbufs have a few empty values at the end of each line (probably for SSE alignment). Hopefully the new version is good! Performance still looks nominal, at least for my setup.
Thanks
…st (~70ms for 4K screenshot)
Fixes / avoids https://github.com/ponty/pyscreenshot/issues/43
N.B. you must use childprocess=False to get good performance!! Unfortunately default Python inter-thread communication/forking/etc. is painfully slow. Compare:
Backend speedtest (which does not use
childprocess=False
) results:but with
childprocess=False
it is an order of magnitude faster than other backends ^_^. Sorry I don't have scrot/pyside/pyqt/wx/pil backends installed to compare.