Improve SimpleRenderPng operation and add tutorial example.