Import TIFF through the server and survive a wedged raw decoder
Browsers have no TIFF decoder, so TIFF import failed at createImageBitmap and the develop canvas asked for the undecodable original. TIFF now takes the raw proxy path (original stored, sharp writes the JPEG proxy) and the editor reads that proxy. LibRaw demosaic and preview calls are bounded so one bad file falls back to the embedded preview instead of hanging.
This commit is contained in:
Binary file not shown.
@@ -224,7 +224,7 @@
|
||||
<ul>
|
||||
<li>Drag a card or folder onto the window.</li>
|
||||
<li>Pick the event, or type a new name.</li>
|
||||
<li>Raws need the server; JPEG/PNG/TIFF do not.</li>
|
||||
<li>Raws and TIFF need the server; JPEG/PNG do not.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="qs-box">
|
||||
@@ -306,7 +306,7 @@
|
||||
<tbody>
|
||||
<tr><td>Browser</td><td>A current Chromium (Chrome, Edge), Firefox or Safari with WebGL 2. Hardware acceleration is strongly recommended: previews, thumbnails and exports all render on the GPU.</td></tr>
|
||||
<tr><td>Display</td><td>1280 × 800 minimum. The layout is built for a laptop and expands to fill a desktop screen.</td></tr>
|
||||
<tr><td>Server (optional)</td><td>Node 22.5+ or Docker, for raw decoding, shared storage, accounts and proofing links. JPEG/PNG/TIFF work without it.</td></tr>
|
||||
<tr><td>Server (optional)</td><td>Node 22.5+ or Docker, for raw and TIFF decoding, shared storage, accounts and proofing links. JPEG, PNG, WebP and AVIF work without it.</td></tr>
|
||||
<tr><td>Windows app (optional)</td><td>Windows 10 or 11, 64-bit. Nothing else: Node, .NET and the VC++ runtime are bundled or not needed.</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -452,7 +452,8 @@
|
||||
<table>
|
||||
<thead><tr><th style="width:34%">Type</th><th>Behaviour</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>JPEG, PNG, WebP, AVIF, TIFF</td><td>Decoded in the browser. EXIF camera, lens, ISO, aperture, shutter and focal length are read when present.</td></tr>
|
||||
<tr><td>JPEG, PNG, WebP, AVIF</td><td>Decoded in the browser. EXIF camera, lens, ISO, aperture, shutter and focal length are read when present.</td></tr>
|
||||
<tr><td>TIFF (.tif, .tiff)</td><td>Decoded on the server into an editable JPEG proxy, because browsers have no TIFF decoder. The original TIFF is stored untouched and the full-resolution proxy drives the editor and export.</td></tr>
|
||||
<tr><td>Camera raw — CR2, CR3, NEF, ARW, ORF, RW2, RAF, DNG, PEF, SRW, 3FR and 20 more</td><td>Sent to the server, demosaiced with LibRaw, stored as the original plus an editable JPEG proxy and a 16-bit sidecar.</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -1176,6 +1177,7 @@
|
||||
<li><b>No plugin ecosystem.</b> Edits live in the catalogue record and XMP sidecars, not in third-party plugins.</li>
|
||||
<li><b>Colour management is per export.</b> Choose sRGB, Display P3 or Adobe RGB in the export dialog; the soft-proof panel handles printer gamut.</li>
|
||||
<li><b>Browser storage is finite.</b> Large raw catalogues belong on the server; the browser copy is a working cache.</li>
|
||||
<li><b>TIFF is edited through a proxy.</b> TIFF has no browser decoder, so the server writes a JPEG proxy capped at <code>RAW_EDGE</code> (6000 px by default); the original TIFF is stored unchanged for fidelity and re-proxying.</li>
|
||||
<li><b>Unsigned Windows build.</b> SmartScreen warns on first run; sign the executable if you distribute it widely.</li>
|
||||
</ul>
|
||||
|
||||
@@ -1199,7 +1201,7 @@
|
||||
<tr><td>PNG (.png)</td><td>Browser</td></tr>
|
||||
<tr><td>WebP (.webp)</td><td>Browser</td></tr>
|
||||
<tr><td>AVIF (.avif)</td><td>Browser</td></tr>
|
||||
<tr><td>TIFF (.tif, .tiff)</td><td>Browser</td></tr>
|
||||
<tr><td>TIFF (.tif, .tiff)</td><td>Server (sharp JPEG proxy; browsers cannot decode TIFF)</td></tr>
|
||||
<tr><td>Camera raw: CR2, CR3, CRW, NEF, NRW, ARW, SRF, SR2, ORF, RW2, RWL, RAF, PEF, DNG, SRW, 3FR, FFF, IIQ, X3F, ERF, K25, KDC, DCR, MOS, MRW, MEF</td><td>Server (LibRaw)</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user