andyvr/picEdit

how to dynamically add image in canvas without uploading file

Closed this issue · 2 comments

how to dynamically add image in canvas without uploading file

i have reached till here $('#image').picEdit('set_default_image',ImgSource);
here i call public method set_default_image with custome image url but it is getting into infinite loop.

coomenting //img.src = canvas.toDataURL('image/png'); in img.onload in _create_image_with_datasrc function does the work, it is unnecessary anyways will commit change