Update to 1.0.1
Added a resize func

Since resize is possible, I took advantage of it. If there is a& better way to do it let me know :)
Merge pull request #176 from delahee/patch-5

Added a resize func
add the preserve context directive.

It will not prevent contextLost but improve situation on many devices.
Merge pull request #182 from delahee/patch-6

add the preserve context directive.