sdenton4 / pipic

Tools for Raspberry Pi photography
GNU General Public License v2.0
63 stars 19 forks source link

Bug in metering right side. #12

Closed henrik1g closed 7 years ago

henrik1g commented 9 years ago

Thank you for providing this awesome piece of code! :-)

Found a bug in the metering right side. Maybe consider (parts of) my patch.

Greets henrik

From 611b8fd7ae3908960212fa0ab76f3c89cea94cb5 Mon Sep 17 00:00:00 2001 From: Henrik Bieler Henrik.Bieler@nospam.de Date: Wed, 5 Nov 2014 11:01:16 +0100 Subject: [PATCH 1/5] Fix bug in metering right side. Enable metering other than c. New meter modes bottom and top.


timelapse.py | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-)

diff --git a/timelapse.py b/timelapse.py index a9786f5..cb922ec 100644 --- a/timelapse.py +++ b/timelapse.py @@ -39,7 +39,7 @@ class timelapse: T=timelapse() T.listen() """

henrik1g commented 9 years ago

Sorry. The website messed up the patch formatting... :-( If you are interested let me know. I will send it some other way then.

sdenton4 commented 9 years ago

Hi, Henrik1g; Yes, I can definitely take a look and patch it up. Could you try again to post the diff file? I believe enclosing the text in three backtick quotes (see 'codefencing' in the 'markdown supported' link at the top of the comment box) will help with the formatting:

this is a code example.
  Look how
    well formatted
it seems to be.
sdenton4 commented 7 years ago

Removed most of the metering code, and replaced it with better overall image metering.