This extension provides support for loading and visualizing LDR / HDR(animated) images directly inside Vscode. Apart from that, the viewer contains more useful features than the native one included by default:
Translation and smooth zooming inside the image, allowing to see pixel values.
Control for adjusting exposure and gamma.
Different tone mapping possibilities: sRGB, inverse gamma, positive/negative color, and false color visualization.
Possibility of comparing different images using a specified error metric (Error, Absolute error, Squared Error, Relative Absolute Error, or Relative Squared Error).
Displays the histogram of the image (or the histogram of the error metric).
Reloading images is also supported.
Playing the images as a video depending on the user selection of FPS (Frames per second).
Right-click menu entry for opening all the images in a folder.
⚠ If you hit any problems or want to request a feature, please create an issue on the repo.
Currently supported formats
.exr - High dynamic-range (HDR) image file format.
.png - Low dynamic-range image without compression (including animated ones).
.jpg - Low dynamic-range image with compression.
.bmp - Bitmap digital images.
.gif - Graphics Interchange Format (animation).
How to use it
Open a file from one of the supported formats and the viewer will open automatically in a new tab. Note that if the file was modified after opening the viewer, it is possible to update the image using the reload button or the specific keybinding.
While the window is not closed, the next open images will reuse the window, allowing you to compare them.
If you want to see all the possible keybinding, feel free to press h or ? to open the list.