photo-stats

statistics processor for the terminal
git clone https://git.clttr.info/photo-stats.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit f8508fe8cca1784a6922e2473869625bcd42b93f
parent 75928a150ea967ca7c2cea776e4a519e09da1c9e
Author: René Wagner <rwagner@rw-net.de>
Date:   Wed, 29 Jul 2020 17:36:05 +0200

round aperture

Diffstat:
Mphosta.pl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phosta.pl b/phosta.pl @@ -34,7 +34,6 @@ our $opt_p=''; getconfig($configfile); getopts('p:') or die "Invalid parameters provided! See 'phosta.pl --help' for more details."; -say $opt_p; #if ( $opt_s ) { writeconfig($configfile); } if ( $opt_p ne '' ) { @@ -64,6 +63,7 @@ sub get_stats if ($model eq '-') { $emptycount++; next; } $lens = ($lens ne '-') ? $lens : $lensmodel; + $apert = ($apert ne '-') ? sprintf("%.1f", $apert) : $apert; $exposuretime = (looks_like_number($exposuretime) && $exposuretime < 1) ? "1/". POSIX::lround(1/$exposuretime) : $exposuretime; if ($datetimeoriginal eq '0000:00:00 00:00:00') { $datetimeoriginal = '-'; }