In source you are pretty much storing image in that big string. It isn't allowed.

You can save steps (e.g. draw line by line), but you can't store image itself. Nice try though.