how to dynamically add image in canvas without uploading file
Closed this issue · 2 comments
shreychaturvedi123 commented
how to dynamically add image in canvas without uploading file
shreychaturvedi123 commented
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.
shreychaturvedi123 commented
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