Skip to content

Color type quantization inaccuracy in WPT #62525

Open

Description

@svgeesus

// (116.892405498713, 251.242468747889, 129.109129531237)/255
// Quantized to 8-bit, this is:
// (116, 251, 129)

  // Converted back to Display P3 this is:
  //   (116.892405498713, 251.242468747889, 129.109129531237)/255
  // Quantized to 8-bit, this is:
  //   (116, 251, 129)

Rounding rather than truncating, that should be 117, no?

@ccameron

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions