Source code for sparkle.resources.img

import os

from sparkle.QtWrapper import QtGui

thisfolder = os.path.dirname(os.path.realpath(__file__))

[docs]def noise(): return QtGui.QImage(os.path.join(thisfolder,'noise.png'))
[docs]def default(): return QtGui.QImage(os.path.join(thisfolder,'default.jpg'))