Image Viewer and Shaders

Is it no longer possible to apply shaders to image files opened with the image viewer?

Which version of RetroArch do you have and on what platform?

RetroArch 1.22.2 x64 Linux

Okay, I’ve realized that the current built-in image viewer is not the same as the “core” version. I just compiled it myself, and it works as usual. Thanks anyway.

2 Likes

I am on Linux too and have v1.22.2, but compiled it from source about a week ago. I do not remember any problem with applying shaders on the image viewer since stable version of 1.22.2.

… Okay, so its resolved while I was typing. Well congratz for finding the issue. :slight_smile:

1 Like

And how do you open the image and apply the shader to it? I can only view it.

1 Like

Just like you would apply it to a game. I remember it worked years ago, and it still works for me. I’m on a Linux desktop and the current version of RetroArch 1.22.2 I have installed is compiled from source is from Oct 18 2026. Maybe something broke in between that got fixed later again.

With the GUI, just open screenshots with the “Images” tab on the left menu. Click “Run” to view it with the RetroArch Image Viewer. Click F1 (or whatever key or button is assign on your system) to open the RetroArch menu. Just go down to “Shaders” menu, enable “Video Shaders” = ON in case its disabled. Load a Preset like with any other core too and it should apply. On my machine it works. Otherwise I don’t think RetroArch treats it different from other cores.

Here is a commandline to quickly test it too (it’s Linux paths, so adjust for your Windows paths). 1. -L Imageviewer sets the core to be the Image Viewer, 2. --set-shader PATH is the shader we use, 3. last we have the path to the image file we want to view:

retroarch -L Imageviewer --set-shader ~/".config/retroarch/shaders/shaders_slang/handheld/gameboy.slangp" ~/".config/retroarch/thumbnails/Nintendo - Super Nintendo Entertainment System/Named_Snaps/Super Mario World (USA).png"
1 Like

Thanks for the clear steps, that helps a lot. I did not realize the built-in viewer and the Image Viewer core were different, so I will check which one I am using first. The command line example is useful too, since I can test a shader quickly before changing my usual setup.

Wait, I was not suggesting the builtin-viewer is different. I think there is no Image Viewer core file, its a builtin core as I understand, that just works like any other optional core.

Okay, before I used to load it from the menu as a ROM and then apply the filter; I’d never opened a screenshot from the Image menu, but it’s great to have that option.

Now it doesn’t load the image with the core—it just shows it as a preview.

There’s a reason for this: when you load an image using the core, you can apply filters.
But if you have a game running, you can open an image as a pop-up without exiting the game—which is useful if you want to read an illustrated manual without leaving the game.