JKirchartz / Glitchy3bitdither

client-side javascript image glitches
http://jkirchartz.com/Glitchy3bitdither
MIT License
44 stars 9 forks source link

Glitch Chooser: Apply button not working #19

Open Vicparob opened 1 year ago

Vicparob commented 1 year ago

Hello!

For the past 2 years I've noticed that Glitch Cruiser works with all the glitch methods, but Glitch Chooser doesn't apply changes to the image, so it's broken. Additionally, when no change has been made to the picture, and the "Original" method is applied, the picture will move to the right of the browser and a small rectangle.

Thanks! issue

JKirchartz commented 1 year ago

This is a core problem in the File API -- browsers have decided that any time a file is loaded from a person's computer to a browser it's a "Cross-Origin" maneuver, and therefore any manipulation of the image could be a security breach -- I've been working off and on on a way to solve this, but it looks like I'd need to be able to upload the image to a server before allowing it to be manipulated, and this code specifically works by avoiding doing that. Unfortunately, time marches on and browsers have made decisions far outside of my control. (Another thought I had was making this a downloadable tool/app - but I'm not sure if that would solve the problem, I haven't experimented much with Electron.)

JKirchartz commented 1 year ago

I've somehow managed to fix this everywhere except for the Glitch Chooser - but that does give me hope of finding a fix for that.

Vicparob commented 1 year ago

I've somehow managed to fix this everywhere except for the Glitch Chooser - but that does give me hope of finding a fix for that.

Huzzah!! One small step for art, one big leap for glitch art.