Program or method to apply shaders to screenshots without the emulator?

I know the question seems to be a bit weird but I would like to know if there is any quick way to apply the shaders to external images like screenshots. Command line tool? Library to use the saders in any programming language easily (python would be perfect for me)?

I know that in libretro you can take a) the raw screenshot (what the emulator generated), or b) the cooked screenshot (the image of the emulator after applying the shaders). What I want is to store my raw screenshots and then later apply different shaders. This way you can easily compare multiple shader presets or, in my case, store the raw screenshots and later generate posters with all the games I played last week, month, year…

Regards and thanks in advance.

there is an image viewer core

Thanks, going to take a look.