Image Editing/Variations Javascript GUI

Has anyone developed a reusable Javascript component (by which I just mean functions, or package) which can take an Image BLOB object (like what’s in memory from use of a JS Upload Dialog) and let the user use the mouse to draw (using maybe a circle brush) the “transparency” areas, that Image Editing API requires, onto parts of the image and save the PNG back into a new BLOB. I’m pretty sure this is doable, as long as JS can write the rasterized data back out to a new BLOB, to use in the Image API.

1 Like