mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat(server): use tonemapx for software tone-mapping (#13785)
This commit is contained in:
parent
5ac236d6fd
commit
b9096f3e99
16 changed files with 182 additions and 163 deletions
|
|
@ -0,0 +1,12 @@
|
|||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
|
||||
export class RemoveNplFromSystemConfig1730227312171 implements MigrationInterface {
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`
|
||||
update system_metadata
|
||||
set value = value #- '{ffmpeg,npl}'
|
||||
where key = 'system-config' and value->'ffmpeg'->'npl' is not null`);
|
||||
}
|
||||
|
||||
public async down(): Promise<void> {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue