---
title: "Discussion on \"Building a RAW photo editor in the browser: every number surprised me\" | Hashnode"
description: "Discussion on \"Building a RAW photo editor in the browser: every number surprised me\". A Rust decoder in WebAssembly and a WebGL2 pipeline develop camera RAW files in a browser tab. Five measurements overturned what the code assumed."
url: "https://hashnode.com/posts/raw-photo-editor-in-the-browser/6acf86c42b6f4eb3c199d8f4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building a RAW photo editor in the browser: every number surprised me](https://mattbuilds.hashnode.dev/raw-photo-editor-in-the-browser?utm_source=hashnode&utm_medium=feed)

A Rust decoder in WebAssembly and a WebGL2 pipeline develop camera RAW files in a browser tab. Five measurements overturned what the code assumed.

Oct 14 · 12 min read · mattbuilds.hashnode.dev  
Read the article

-   [#webassembly](https://hashnode.com/tag/webassembly)
-   [#rust](https://hashnode.com/tag/rust)
-   [#photography](https://hashnode.com/tag/photography)
-   [#buildinpublic](https://hashnode.com/tag/buildinpublic)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Matthieu Audo](https://hashnode.com/@mattbuilds)

@mattbuilds · Montreal

  
[View profile](https://hashnode.com/@mattbuilds)

Solo Founders

## Responses 1

Markdown supported · ⌘↵ to post

[StackShortlist](https://hashnode.com/@veristria)

[Oct 17](https://hashnode.com/posts/raw-photo-editor-in-the-browser/6acf86c42b6f4eb3c199d8f4/comment/6ad2fe46874abf8e984c7088)

Reading only the bytes the TIFF directory points at, 22 MB down to roughly 1.7 MB per photograph, is a great example of the camera already having done the work. The note that MobileNet did no better than a 144-byte colour histogram on the bench is the kind of result most posts would leave out.
