RawJock by FotoJock Open the editor
Credits

Credits and licences

RawJock is our own code. These are the third-party parts it uses, with their licences. The full text, with versions and file names, is in CREDITS.txt.

RAW decoder: rawler (LGPL-2.1)

RAW files are decoded by rawler, part of dnglab, licensed under the GNU Lesser General Public License v2.1. RawJock ships it unmodified, built to WebAssembly as a separate module that loads only when you open a RAW file. You may replace it with your own build.

Exact source, build recipe and interface: SOURCE.txt, build.txt, licence COPYING.LGPLv2.1, upstream source at commit 4d41508b.

HEIC decoder: libheif (LGPL-3.0)

HEIC and HEIF files that the browser cannot decode itself are read by libheif with libde265 (libheif-js 1.23.5, LGPL-3.0), shipped unmodified as a separate WebAssembly module that loads only when such a file is opened. You may replace it with your own build of the same libraries. Licence: LICENSE; source: libheif, libde265, libheif-js.

Lens data: lensfun (CC BY-SA 3.0)

Lens correction profiles are derived from the lensfun database, © the lensfun contributors, licensed under Creative Commons Attribution-ShareAlike 3.0. They are shipped as separate data files, converted from the XML (format conversion only); the converted files are under the same licence (licence, attribution).

Map data: Natural Earth (public domain)

The library's world map is drawn by RawJock's own code from Natural Earth 5.1.2 data, which is in the public domain, with place names in many languages from Wikidata (CC0) through Natural Earth. The data ships as separate files (readme, licence). The optional detailed map, used only if you switch it on, loads tiles from OpenFreeMap: © OpenMapTiles, data © OpenStreetMap contributors (ODbL).

Optional AI models

Downloaded only after you switch a feature on and confirm; all run on your device. No generative or diffusion model is used.

WhatLicenceUsed for
BiRefNet / IS-Net (site segment module)MIT / Apache-2.0Subject and background masks
Depth Anything V2 Small (onnx-community export)Apache-2.0Depth masks, lens blur, fog
MediaPipe Selfie MulticlassApache-2.0People, skin, hair and body-part masks
YuNet (OpenCV Zoo) + MediaPipe Face LandmarkerMIT / Apache-2.0Face-part masks (eyes, eye whites, iris, eyebrows, nose, lips, teeth) and faces and eyes in culling
SCUNet (Zhang et al.), weights from KAIRApache-2.0 / MITAI denoise
MoGe-2 ViT-S normal (Microsoft Research; DINOv2 backbone, Meta AI)MIT / Apache-2.0Relight (3-D shape: normals and depth)
SAM 2.1 Hiera-Tiny (Meta AI; ONNX export by onnx-community)Apache-2.0Click and box selection
EfficientViT-Seg B1 (MIT Han Lab)Apache-2.0Sky and landscape masks
SigLIP 2 Base/16 (Google DeepMind; ONNX export by onnx-community)Apache-2.0AI keywords
SFace face recognition (Yaoyao Zhong et al.; OpenCV Zoo), with YuNet and MediaPipe Face Landmarker through FotoJock Retouch's face engineApache-2.0 (YuNet: MIT)Grouping faces by person (People). The weights are published under Apache-2.0; the training data is not stated with them, and the SFace paper trains on research face datasets (CASIA-WebFace, VGGFace2 and MS-Celeb-1M, which Microsoft withdrew in 2019).
waifu2x swin_unet (nagadomi)MITAI upscale on export
4xBHI RealPLKSR (Philip Hofmann)CC BY 4.0AI upscale on export
ONNX Runtime Web 1.30.0MITRunning the AI models

Code and algorithms

Third-party code that ships, and the published methods our own code is written from.

WhatLicenceUsed for
rawler 0.8.0 (dnglab), unmodifiedLGPL-2.1Reading RAW files
libheif 1.23 with libde265, dav1d and OpenJPEG (libheif-js 1.23.5), unmodified, loaded only when neededLGPL-3.0 (dav1d, OpenJPEG: BSD-2-Clause)HEIC/HEIF files the browser cannot decode
libjxl 0.12.0 (the JPEG XL Project Authors) with Highway 1.2.0, Brotli and skcms, built unmodified to WebAssembly, loaded only when neededBSD-3-Clause (Highway: Apache-2.0 OR BSD-3-Clause; Brotli: MIT)JPEG XL export and opening JPEG XL files
jxl-oxide-wasm 0.12.6 (Wonwoo Choi), unmodified, loaded only when neededMIT OR Apache-2.0HDR JPEG XL files (PQ / HLG)
Rust libm 0.2.16 (rust-lang) and Rust core, compiled into the CPU rendererMIT (core: MIT OR Apache-2.0)Maths in the CPU renderer
FOGRA39L Coated ICC profileNo known copyright restrictionsCMYK files without a colour profile
ICC profiles FOGRA39L, FOGRA47L and IFRA26S (colord project, Richard Hughes) and a FOGRA51-class profile (Amethyst CMYK ICC Profiles, Pascal de Bruijn), unalteredCC0 1.0Soft proofing: the bundled standard printing conditions
ICC profiles GRACoL® 2013 CRPC6 (X-Rite, made available by Idealliance) and PrintWide™ 2020 (ColorLogic GmbH, Idealliance), unalteredFree to use and share, not to be altered or soldSoft proofing: the bundled standard printing conditions
mozjpeg (via FotoJock fj-enc)IJG / BSD-3-Clause / zlibJPEG export
AgX constants (three.js / Filament / Blender)MIT / Apache-2.0Tone mapping
Khronos PBR NeutralApache-2.0Tone mapping
naga (wgpu), build time onlyMIT / Apache-2.0Translating our GPU code for WebGL2 and the CPU renderer
Film Lab LUTs (spectral_film_lut, Jan Lohse)MITFilm looks
DNG Specification 1.6DNG patent licence (royalty-free)DNG reading and writing
RCD demosaicing (L. Sanz Rodríguez), from the published description-Bayer demosaicing (our code)
Guided filter, dark channel prior, Poisson editing, multigrid, push-pull, à-trous wavelets, OkLab (papers)-Our own implementations
Brown & Lowe 2007, Burt & Adelson 1983 (papers)-Panorama stitching (our code)

Fonts and icons

Inter (SIL Open Font License 1.1), served from this site. The flags in the language picker are the site's own simplified drawings.

Images on these pages

Screenshots and examples on these pages were made with RawJock from sample RAW files under free licences. Sample files from raw.pixls.us are public domain (CC0 1.0).

The film-negative example is made from RAW files shared on discuss.pixls.us Play Raw by europlatus and Jonathan Bieler, licensed CC BY-SA 4.0. The example images made from them are shared under the same licence.

The HDR and panorama examples on the RawJock start page are made from RAW files shared on discuss.pixls.us Play Raw by Rohan Kulkarni (zhopudey) and clind, licensed CC BY-SA 4.0, and are shared under the same licence.

This product includes DNG technology under license by Adobe.

Updated 2026-10-25