Command Line Interface

Ansel

Komenda `Ansel’ uruchamia Ansel z graficznym interfejsem i pełną funkcjonalnością. Jest to standardowa metoda pracy z Ansel.

Ansel może być wywołane z następującymi parametrami linii poleceń:

 1Ansel [-d {all,act_on,cache,camctl,camsupport,control,demosaic,
 2               dev,fswatch,imageio,input,ioporder,lighttable,lua,
 3               masks,memory,nan,opencl,params,perf,print,pwstorage,
 4               signal,sql,tiling,undo,verbose}]
 5          [<input file>|<image folder>]
 6          [--version]
 7          [--disable-opencl]
 8          [--library <library file>]
 9          [--datadir <data directory>]
10          [--moduledir <module directory>]
11          [--tmpdir <tmp directory>]
12          [--configdir <user config directory>]
13          [--cachedir <user cache directory>]
14          [--localedir <locale directory>]
15          [--luacmd <lua command>]
16          [--noiseprofiles <noiseprofiles json file>]
17          [--d-signal <signal>]
18          [--d-signal-act <all,raise,connect,disconnect,print-trace>]
19          [--conf <key>=<value>]
20          [-t <num openmp threads>]

Wszystkie parametry są opcjonalne. W większości przypadków Ansel powinno być uruchamiane bez dodatkowych parametrów, użyje wtedy rozsądnych wartości domyślnych.

Ansel-cli

The ansel-cli binary starts the command line interface variant of Ansel which allows images to be exported.

Ten wariant nie otwiera żadnego ekranu - działa w trybie czystej konsoli bez uruchamiania GUI. Ten tryb jest szczególnie przydatny w przypadku serwerów, wykonujących zadania w tle.

ansel-cli can be called with the following command line parameters:

 1ansel-cli [<input file or folder>]
 2              [<xmp file>]
 3              <output file or folder>
 4              [--width <max width>]
 5              [--height <max height>]
 6              [--hq <0|1|true|false>]
 7              [--upscale <0|1|true|false>]
 8              [--style <style name>]
 9              [--style-overwrite]
10              [--apply-custom-presets <0|1|false|true>]
11              [--out-ext <extension>]
12              [--import <file or dir>]
13              [--icc-type <type>]
14              [--icc-file <file>]
15              [--icc-intent <intent>]
16              [--verbose]
17              [--help [option]]
18              [--core <Ansel options>]

Użytkownik musi określić plik wejściowy i wyjściowy. Pozostałe parametry są opcjonalne.

Ansel-generate-cache

The ansel-generate-cache binary updates Ansel’s thumbnail cache. Invoke this program to generate all missing thumbnails in the background when your computer is idle.

ansel-generate-cache can be called with the following command line parameters:

1ansel-generate-cache
2              [-h, --help]
3              [--version]
4              [--min-mip <0-8>] [-m, --max-mip <0-8>]
5              [--min-imgid <N>] [--max-imgid <N>]
6              [--core <Ansel options>]

All parameters are optional. If started without parameters ansel-generate-cache uses reasonable defaults.

Ansel-cltest

Plik binarny Ansel-cltest sprawdza, czy w twoim systemie istnieje użyteczne środowisko OpenCL, z którego może korzystać Ansel. Emituje pewne dane debugowania, które jest równoważne wywołaniu Ansel -d opencl, a następnie kończy działanie.

Ansel-cltest jest wywoływane bez parametrów linii poleceń.

Ansel-nn-parity

The Ansel-nn-parity binary checks that the neural network behind the AI raw denoise module computes the same thing on your CPU and on your graphics card as it did on the machine that trained it.

You should not normally need it. It exists for one specific situation: the denoised image looks wrong — a grid, a mesh, a colour cast — and you suspect the graphics card. This tool answers that question with a number instead of an opinion, and tells you which of the three implementations disagrees with the other two.

Ansel-cmstest

Plik binarny Ansel-cmstest (tylko Linux) sprawdza, czy podsystem zarządzania kolorami na komputerze jest poprawnie skonfigurowany i wyświetla przydatne informacje o zainstalowanych profilach monitora.

Ansel-cmstest wywoływane jest bez parametrów linii poleceń.

Purge_non_existing_images.sh

Znajduje i usuwa wpisy z bazy danych biblioteki odnoszące się do obrazów, które już nie istnieją w systemie plików. Musisz zamknąć Ansel przed uruchomieniem tego skryptu.

Skrypt może być uruchamiany z następującymi parametrami linii poleceń:

1purge_non_existing_images.sh [-c|--configdir <ścieżka>]
2                             [-l|--library <ścieżka>]
3                             [-p|--purge]

Uruchom skrypt bez dodatkowych opcji, aby wykonać „próbne uruchomienie”, generujące raport o brakujących plikach bez wprowadzania jakichkolwiek zmian w bazie danych.

Search

You can also ask Chantal, the AI search engine.