Skip to main content
7 events
when toggle format what by license comment
Sep 6, 2024 at 10:13 vote accept mrconcerned
Sep 6, 2024 at 10:13 comment added mrconcerned Yes, I'm the author of the posted code and I wrote it for our React/p5 project I'm currently working on. I will try to update the code with your answer and sorry I might be new here, thus not quite familiar with policy. I will accept the answer now.
Sep 6, 2024 at 5:54 comment added greybeard (tile image contains only 100 pixels I took that to be a dummy)
Sep 6, 2024 at 5:22 comment added Blindman67 Codereview is not a code writing service, doing so for you could be considered, off topic! Your original code is complex compared to a rewrite, as suggested in my answer. Are you the author of the posted code?. Please read the Asking Help Center next time you consider asking for a review at codereview.
Sep 6, 2024 at 5:01 history edited Blindman67 CC BY-SA 4.0
added 4 characters in body
Sep 5, 2024 at 14:48 comment added mrconcerned Thank you for your answer to the question. I need to return the image as File from the replaceColors function because I'm using it for our main project. Would it be possible to edit the answer of yours by adding the code snippet so I could test in different browsers how much time it takes to load the final result?
Sep 5, 2024 at 3:27 history answered Blindman67 CC BY-SA 4.0