I have a content script that puts images through a filter but currently waits for the entire image to be downloaded first before it starts processing.
How can I format a function to request the image and get the raw image data in chunks as it comes in?
I'd want to try to process image chunks in something like every 200ish pixels but would need to play with it to find the best size. I thought maybe I could do it by requesting a data stream for the image file but I only found documentation for video streams and have no idea what filereader I would use for a partial image.