RGB to [0,1] normalization uses wrong divisor

Bug #559797 reported by Hernando Torque
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
plymouth (Ubuntu)
Triaged
Low
Unassigned

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).

Tags: patch
Steve Langasek (vorlon)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.