RGB to [0,1] normalization uses wrong divisor

Bug #559797 reported by Hernando Torque on 2010-04-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
plymouth (Ubuntu)

Bug Description

Binary package hint: plymouth

Nitpicking: to normalize the colors you'd divide by 255, not by 256 (eg. 0, 1, 2 -> 0/2, 1/2, 2/2 - > 0.0, 0.5, 1.0).

Steve Langasek (vorlon) on 2010-04-11
Changed in plymouth (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Hernando Torque (htorque) wrote :

In the meantime one color has been corrected, the other one is still wrong. Attaching an updated patch (patch to a patch).

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers