added reset and empty set to fromDataURL
Merge pull request #25 from krisivanov/master

added reset and empty set to fromDataURL