25-07-2021

This commit is contained in:
2021-07-25 13:17:19 +02:00
parent e02b036875
commit 25789f522b
39 changed files with 2593 additions and 121 deletions

View File

@@ -275,11 +275,75 @@ bruno@silverbook:~$ ssh dsm916 ./kymsu/kymsu2.sh
#### Paquets opkg
```bash
$ sudo opkg find '*lsof*'
lsof - 4.94.0-1 - LiSt Open Files - a diagnostic tool
```
#### Compiler dcraw.
Télécharger les [sources](https://sourceforge.net/projects/dsgpl/files/Synology%20NAS%20GPL%20Source/24922branch/evansport-source/), puis:
```bash
$ gcc -o dcraw -O4 dcraw.c -lm -DNO_JPEG -DNODEP
$ gcc -o dcraw -O4 dcraw.c -lm -DNO_JPEG -DNODEPS
$ gcc -o dcraw -O4 dcraw.c -lm -DNODEPS
```
Identifier sans décoder (-i)
```bash
$ dcraw -i 2006-08-25_Brocard_0370.CR2
2006-08-25_Brocard_0370.CR2 is a Canon EOS 20D image.
```
Identifier sans décoder (+mode verbose) (-i -v)
```bash
$ dcraw -i -v 2020-10-16_Brocard_3606.CR3
Filename: 2020-10-16_Brocard_3606.CR3
Timestamp: Fri Oct 16 18:38:17 2020
Camera make: Canon
Camera model: EOS 90D
Owner: @Bruno Pesenti
ISO speed: 1600
Shutter: 1/49.4 sec
Aperture: f/4.0
Focal length: 500.0 mm
Embedded ICC profile: no
Number of raw images: 1
Thumb size: 6960 x 4640
Full size: 7128 x 4732
Image size: 7128 x 4732
Output size: 7128 x 4732
Raw colors: 3
Filter pattern: RG/GB
Daylight multipliers: 1.000000 1.000000 1.000000
```
Convertir dans l'espace sRGB (-o 1)
```bash
$ dcraw -o 1 -v 2020-10-16_Brocard_3606.CR3
Loading Canon EOS 90D image from 2020-10-16_Brocard_3606.CR3 ...
Scaling with darkness 0, saturation 255, and
multipliers 1.000000 1.000000 1.000000 1.000000
AHD interpolation...
Building histograms...
Writing data to 2020-10-16_Brocard_3606.ppm ...
```
Use the cameras White Balance (WB) (-w) et crér un fichier TIFF (-t)
```bash
$ dcraw -o 1 -w -T 2016-09-28_Brocard_7953.CR2
```
https://gist.github.com/darencard/500eca3d09e32283d5fe6377270fd9e8