Skip to content

Commit

Permalink
Bump version to 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
iizukanao committed Jul 21, 2022
1 parent 7ac6d1c commit 251946b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Change Log
==========

Version 2.0.2 *(2022-07-21)*
----------------------------

- Added the following options. (by @cstillwell89)
+ `--brightness`
+ `--contrast`
+ `--saturation`
+ `--sharpness`

Version 2.0.1 *(2022-07-17)*
----------------------------

Expand Down
32 changes: 12 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ chmod +x make_dirs.sh
alsamixer

# Install picam binary
wget https://github.com/iizukanao/picam/releases/download/v2.0.1/picam-2.0.1-`uname -m`.tar.xz
tar xvf picam-2.0.1-*.tar.xz
cp picam-2.0.1-*/picam ~/picam/
wget https://github.com/iizukanao/picam/releases/download/v2.0.2/picam-2.0.2-`uname -m`.tar.xz
tar xvf picam-2.0.2-*.tar.xz
cp picam-2.0.2-*/picam ~/picam/

# Run picam
cd ~/picam
Expand Down Expand Up @@ -185,7 +185,7 @@ $ touch hooks/unmute
#### Command options

```txt
picam version 2.0.1
picam version 2.0.2
Usage: picam [options]
Options:
Expand All @@ -206,22 +206,14 @@ Options:
constrained_baseline/baseline/main/high
(default: baseline)
--avclevel <value> Set AVC/H.264 level (default: 4.1)
--brightness <num> Adjusts the image brightness. The value -1.0
produces an (almost) black image, the value 1.0
produces an almost entirely white image and the
value 0.0 produces standard image brightness.
--contrast <num> Adjusts the image contrast. The value zero produces
minimum contrast, the value 1.0 uses the default
amount of contrast, and values greater than 1.0 apply
extra contrast.
--sharpness <num> Adjusts the image sharpness. The value zero means that no
sharpening is applied, the value 1.0 uses the default
amount of sharpening, and values greater than 1.0 use
extra sharpening.
--saturation <num> Adjusts the colour saturation. The value zero
produces a greyscale image, the value 1.0 uses
the default amount of sautration, and values greater
than 1.0 apply extra colour saturation.
--brightness <num> Adjust image brightness (default: 0.0)
0.0=unchanged / -1.0=darkest / 1.0=brightest
--contrast <num> Adjust image contrast (default: 1.0)
1.0=normal / >1.0=more contrast
--saturation <num> Adjust image color saturation (default: 1.0)
1.0=normal / 0.0=grayscale / >1.0=more saturated
--sharpness <num> Adjust image sharpness (default: 0.0)
0.0=no sharpening / >0.0=sharpened
[audio]
-c, --channels <num> Audio channels (1=mono, 2=stereo)
Default is mono. If it fails, stereo is used.
Expand Down
2 changes: 1 addition & 1 deletion picam_option/picam_option.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ extern "C" {
#include "text/text.h"

#define PROGRAM_NAME "picam"
#define PROGRAM_VERSION "2.0.1"
#define PROGRAM_VERSION "2.0.2"

typedef struct white_balance_option {
const char *name;
Expand Down

0 comments on commit 251946b

Please sign in to comment.