Now executes callback after generating data URL.