Ignore transparent pixels, get the real maximum bounds of an png image.