add png generation support
scaling