Add the optional Immich integration and manual gallery push
Immich connections stay server-side with an encrypted API key, albums can be imported, and photos are only sent back when an event's push button is pressed: originals upload once, edited photos re-render, and edits hashes plus checksums skip anything already in Immich. This also lands the accompanying editor, cloud and administration work that was still uncommitted. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
+9
-1
@@ -427,7 +427,15 @@ void main(){
|
||||
float ll = clamp(luma(local), 0.0, 1.0);
|
||||
local += (adj2.z / 100.0) * 0.45 * pow(1.0 - ll, 3.0);
|
||||
local += (adj2.y / 100.0) * 0.50 * pow(ll, 2.0);
|
||||
local = mix(vec3(luma(local)), local, clamp(1.0 + adj2.x / 100.0, 0.0, 3.0));
|
||||
// Desaturate in linear light. Mixing towards a gamma-space luma drags a
|
||||
// saturated colour towards a much darker grey (a pure red collapses to
|
||||
// near black), so pulling saturation down made the masked area look muddy
|
||||
// instead of simply calmer. Scaling chroma around the linear luminance
|
||||
// keeps the brightness of the patch where it was.
|
||||
vec3 localLin = toLinear(clamp(local, 0.0, 1.0));
|
||||
float localLuma = luma(localLin);
|
||||
localLin = mix(vec3(localLuma), localLin, clamp(1.0 + adj2.x / 100.0, 0.0, 2.0));
|
||||
local = clamp(toSRGB(max(localLin, vec3(0.0))), 0.0, 1.0);
|
||||
srgb = mix(srgb, clamp(local, 0.0, 1.0), m);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user