mark_image.py: fix bad color calculation due to division 33/26133/1
authorManuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Mon, 18 Aug 2014 07:45:58 +0000 (09:45 +0200)
committerManuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Mon, 18 Aug 2014 07:45:58 +0000 (09:45 +0200)
commitb9463e1f1c4db2f926355a8483ab91fd48d73c36
treecc27b05e71b592a5f8eb372c646d51335f77e958
parent755f49e71564ef7e1d2240c7ea0358adecb2f174
mark_image.py: fix bad color calculation due to division

Import a Python 3.x-compatibility module, so the division
operator returns a float instead of an integer, which is
needed for having enough precision in our case.

Change-Id: Ic3a63fd69e2f54a393228c5fa97cce4ab27588d1
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Script/mark_image.py