富士胶片X RAW STUDIO 网页应用克隆版
Fujifilm X RAW STUDIO webapp clone

原始链接: https://github.com/eggricesoy/filmkit

## FilmKit:一款浏览器级的富士RAW文件和预设管理器 FilmKit 是一款免费、开源的网页应用程序,用于管理预设和转换富士X系列相机的RAW文件。目前处于BETA阶段,主要在X100VI上测试,旨在成为富士X RAW STUDIO的更快替代方案,通过WebUSB利用相机自身的图像处理器。 主要功能包括:直接向相机读取、编辑和写入预设;本地预设库,方便存储和传输;RAW到JPEG转换,具有实时预览;自动从RAF文件检测预设;以及导入/导出功能。它还提供快速比较工具和兼容浏览器的移动设备支持。 FilmKit 通过使用标准的PTP协议与相机通信,与X RAW STUDIO相同。开发者正在积极寻求其他X系列相机(如X-T5、X-H2、X-T30等)用户的支持,以扩展兼容性,并请求提供USB流量的Wireshark捕获进行分析。 在GitHub Pages上可以找到它 – 无需安装!

## 富士X RAW STUDIO Webapp 克隆 - 摘要 一名开发者创建了一个富士X RAW STUDIO的webapp克隆版,旨在提供一个兼容Linux的替代方案和更友好的用户体验。该应用,[https://filmkit.eggrice.soy](https://filmkit.eggrice.soy),利用WebUSB直接连接到富士X系列相机,使用相机的处理器进行RAW图像转换并应用富士的胶片模拟。 用户对这个项目感到兴奋,特别是那些寻求富士原生软件替代方案或希望在Linux上编辑相机配置文件的人。讨论围绕着与旧型号相机(如X-T20和X-E1)的兼容性、潜在的iOS支持以及复制富士图像处理算法的挑战。 对话还涉及RAW图像处理的更广泛话题,提到了Capture One、RawTherapee和Adobe Lightroom,以及关于技术语境中“RAW”的正确大小写形式的争论。最终,该项目因提供了一种方便的方式来试验富士的配方并直接在相机上处理RAW文件而受到赞扬。
相关文章

原文

filmkit.eggrice.soy

Browser-based preset manager and RAW converter for Fujifilm X-series cameras for desktop and mobile.


Desktop


Android

This is author's cat. Shoutout to Fuji X Weekly for awesome presets!

Note that the app is in BETA. It's currently tested on X100VI only. It likely works with other X-series cameras that support Fujifilm's RAW conversion protocol (X-T5, X-H2, X-T30, etc.), but this has not been verified. If you have a different camera and want to help, see Supporting New Cameras below.

Just like Fujifilm X RAW STUDIO, FilmKit uses WebUSB to connect directly to your camera, your camera's own image processor handles the conversion. FilmKit is a static client-side app, hosted on Github Pages.

  • Camera Preset Management - Read, edit and write custom presets on your camera. The iteration should be significantly faster than X RAW STUDIO, thanks to better camera work queue management, non-locking UI and auto-conversion toggle.
  • Local Preset Library - Save presets in your computer, drag & drop between camera and local storage.
  • RAW Conversion and Live Preview - Select a RAF file, adjust film simulation parameters, and get back a full-quality JPEG processed by the camera.
  • Preset Detection - Loading a RAF file automatically detects which preset was used to shoot it (temporary profile created if not present).
  • Preset import/export - Import or export presets as file, link or text paste.
  • Quick compare - QUickly compare between original and current preset.
  • Mobile support - Easily manage presets on-the-go using your phone.
  • Zero installation and cross-platform (supports Linux).

Browser that supports WebUSB, this includes Chromium-based browswer like Google Chrome on desktop and Android.

Appropriate udev rule required if the browser is running in Flatpak, ex:

SUBSYSTEM=="usb", ATTR{idVendor}=="04cb", MODE="0666"

FilmKit communicates PTP (Picture Transfer Protocol) over USB, the same protocol that X RAW STUDIO uses. The camera does all the heavy lifting: it receives the RAF file and conversion parameters, processes them, and returns a JPEG.

For preset management, FilmKit reads and writes individual preset properties (D18E–D1A5) using standard PTP GetDevicePropValue / SetDevicePropValue operations.

See QUICK_REFERENCE.md for full protocol documentation.

FilmKit's protocol implementation was built with the following reference materials:

  • rawji
  • fudge
  • libgphoto2
  • Wireshark USB captures: communication between X100VI and X RAW Studio were captured using Wireshark (on Windows with USB capture) to reverse-engineer preset property encoding, write ordering, and conditional write behavior (ex. HighIsoNR uses a proprietary non-linear encoding, Color Temperature can only be written when WB mode is set to Color Temp, monochrome film simulations reject Color writes).

The camera's native d185 profile format (625 bytes) uses different field indices and encoding from the format in RAF files. FilmKit uses a patch-based approach: copy the base profile byte-for-byte, only overwrite fields the user changed, to preserve EXIF sentinel values.

FilmKit has only been tested on the X100VI. If you have a different Fuji X-series camera and want to help expand support, you can capture USB traffic with Wireshark:

  1. Install Wireshark with USBPcap (or equivalent for macOS)
  2. Open Wireshark and start capturing on the USB bus your camera is connected to (ex. USBPcap1:\\.\USBPcap1)
  3. Open Fujifilm X RAW Studio, and perform one of the following actions you want to capture:
    • Profile read: Just connect and let the app read the camera state
    • Preset save: Change all preset values and save it to one of the profile slots
    • RAW conversion: Load a RAF and convert with one of the presets (local or on-camera)
  4. Stop the capture and save as .pcapng
  5. Repeat from 3 for another action.

Filter Wireshark with usb.transfer_type == 0x02 (bulk transfers) to see only PTP traffic.

Open an issue on GitHub with:

  • Your camera model and firmware version
  • What you captured (please capture all three)
  • The .pcapng files
  • The parameter values you used (so we can correlate bytes to settings)

Additional captures may be required with various property values (ex. for ranged-based value, typically preset save or profile read of min/max values are good enough, but we may face another case of HighIsoNR weirdness).

This project does not accept any pull requests.

What is welcome:

When filing a bug report, please include:

  1. Your camera model and firmware version
  2. Steps to reproduce the issue
  3. The debug log - scroll down to the Debug section at the bottom of the right sidebar, click Copy Log, and paste it into the issue

Made with ♥ by eggricesoy · @eggricesoy

联系我们 contact @ memedata.com