o
odin.langpkg.dev
packages / library / arw-preview2

arw-preview2

a6ba36dlibrary

Quickly preview raw image files

MIT · updated 10 months ago

Quickly preview raw camera image files

Supported image files

  • .ARW by Sony a6000
  • .CR3 by Canon EOS R50
  • .CR2 by Canon EOS 6D

Raw image files created by other camera models have not been tested.

arw-preview2 showing a JPEG preview of a .ARW file

Controls

Mouse click to move, double-click to fit image
Escape or Caps Lock or q to exit
Arrow up or + zoom in
Arrow down or - zoom out
WASD or Ctrl + Arrow key to move
Double click or Space or Enter to fit image
HJKL keys double as arrow keys, for the VIM enjoyers
Shift to show framerate

Building

Install the latest version of Odin.
If you get any compiler errors, try the latest supported version below instead:

Compiler versions that I know work with this project:

dev-2025-08
dev-2025-06
dev-2025-04
dev-2025-03
odin build . -o:speed

Running

# Try any of these!
./arw-preview2 example.ARW
./arw-preview2 example.CR3
./arw-preview2 example.cr2

Todo

  • Right click -> Copy to clipboard
  • Multiple files
  • Timing outputs in --verbose

The included Inter font is licensed under the OFL-1.1. A copy of this license is included in fonts/Inter/LICENSE.txt