The static function setAllocationLimit is currently missing from the QImageReader class: https://doc.qt.io/qt-6/qimagereader.html#setAllocationLimit Could you please add it for the next release? AFAICS (I only checked the QtGui.pyi file), it's still missing from the latest development snapshot (6.4.0). TIA