added pngdefry helper