release buffer after opening image