gd.open() now accepts sources of Buffer type