You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to change the image source dynamically from db. But the function is not allowing me to change the image.
id = imagename;
$('.tempimage').attr("id","#"+id);
$('.tempimage').attr('src',image);
var my = Filtrr2($("#"+id), function () {
var dup = this.dup();
dup.fill(r,g,b);
this.contrast(100).saturate(-100).layer("overlay", dup).render();
var canvas = document.getElementById('filtrr2-image1');
var ctx = canvas.getContext('2d');
drawEngine.setImgBackplate(canvas.toDataURL());
});
The text was updated successfully, but these errors were encountered:
I am trying to change the image source dynamically from db. But the function is not allowing me to change the image.
id = imagename;
$('.tempimage').attr("id","#"+id);
$('.tempimage').attr('src',image);
var my = Filtrr2($("#"+id), function () {
var dup = this.dup();
dup.fill(r,g,b);
this.contrast(100).saturate(-100).layer("overlay", dup).render();
var canvas = document.getElementById('filtrr2-image1');
var ctx = canvas.getContext('2d');
drawEngine.setImgBackplate(canvas.toDataURL());
});
The text was updated successfully, but these errors were encountered: