Is there a way to get an image file directly in tampermonkey script?

I am writing a tampermonkey script to read an image file. I have tried to use document.getElementById and I can get the url of the file, however if I request to the url again, a different image is generated. Is there a way to get the image from the loaded webpage directly?