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:
+1
-1
@@ -320,7 +320,7 @@ export interface PhotoRecord {
|
||||
/** true when the original is a camera raw decoded by the server */
|
||||
raw?: boolean;
|
||||
/** how the editable proxy was produced */
|
||||
decode?: 'libraw' | 'embedded';
|
||||
decode?: 'libraw' | 'embedded' | 'sharp';
|
||||
/** server URL for the editable proxy (raw only) */
|
||||
previewUrl?: string;
|
||||
/** server URL for the grid thumbnail */
|
||||
|
||||
Reference in New Issue
Block a user