python-lottie  0.6.11+devcecd248
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.utils.color.Conversion Class Reference

Static Public Member Functions

def rgb_to_hsv (r, g, b)
 
def hsv_to_rgb (h, s, v)
 
def hsl_to_hsv (h, s_hsl, l)
 
def hsv_to_hsl (h, s_hsv, v)
 
def rgb_to_hsl (r, g, b)
 
def hsl_to_rgb (h, s, l)
 
def rgb_to_xyz (r, g, b)
 
def xyz_to_rgb (x, y, z)
 
def xyz_to_luv (x, y, z)
 
def luv_to_xyz (l, u, v)
 
def luv_to_lch_uv (l, u, v)
 
def lch_uv_to_luv (l, c, h)
 
def xyz_to_lab (x, y, z)
 
def lab_to_xyz (l, a, b)
 
def conv_func (mode_from, mode_to)
 
def convert (tuple, mode_from, mode_to)
 

Detailed Description

Definition at line 34 of file color.py.

Member Function Documentation

◆ conv_func()

def lottie.utils.color.Conversion.conv_func (   mode_from,
  mode_to 
)
static

Definition at line 335 of file color.py.

◆ convert()

def lottie.utils.color.Conversion.convert (   tuple,
  mode_from,
  mode_to 
)
static

Definition at line 339 of file color.py.

◆ hsl_to_hsv()

def lottie.utils.color.Conversion.hsl_to_hsv (   h,
  s_hsl,
  l 
)
static

Definition at line 118 of file color.py.

◆ hsl_to_rgb()

def lottie.utils.color.Conversion.hsl_to_rgb (   h,
  s,
  l 
)
static

Definition at line 135 of file color.py.

◆ hsv_to_hsl()

def lottie.utils.color.Conversion.hsv_to_hsl (   h,
  s_hsv,
  v 
)
static

Definition at line 124 of file color.py.

◆ hsv_to_rgb()

def lottie.utils.color.Conversion.hsv_to_rgb (   h,
  s,
  v 
)
static

Definition at line 114 of file color.py.

◆ lab_to_xyz()

def lottie.utils.color.Conversion.lab_to_xyz (   l,
  a,
  b 
)
static

Definition at line 302 of file color.py.

◆ lch_uv_to_luv()

def lottie.utils.color.Conversion.lch_uv_to_luv (   l,
  c,
  h 
)
static

Definition at line 277 of file color.py.

◆ luv_to_lch_uv()

def lottie.utils.color.Conversion.luv_to_lch_uv (   l,
  u,
  v 
)
static

Definition at line 269 of file color.py.

◆ luv_to_xyz()

def lottie.utils.color.Conversion.luv_to_xyz (   l,
  u,
  v 
)
static

Definition at line 249 of file color.py.

◆ rgb_to_hsl()

def lottie.utils.color.Conversion.rgb_to_hsl (   r,
  g,
  b 
)
static

Definition at line 130 of file color.py.

◆ rgb_to_hsv()

def lottie.utils.color.Conversion.rgb_to_hsv (   r,
  g,
  b 
)
static

Definition at line 110 of file color.py.

◆ rgb_to_xyz()

def lottie.utils.color.Conversion.rgb_to_xyz (   r,
  g,
  b 
)
static

Definition at line 198 of file color.py.

◆ xyz_to_lab()

def lottie.utils.color.Conversion.xyz_to_lab (   x,
  y,
  z 
)
static

Definition at line 283 of file color.py.

◆ xyz_to_luv()

def lottie.utils.color.Conversion.xyz_to_luv (   x,
  y,
  z 
)
static

Definition at line 228 of file color.py.

◆ xyz_to_rgb()

def lottie.utils.color.Conversion.xyz_to_rgb (   x,
  y,
  z 
)
static

Definition at line 213 of file color.py.


The documentation for this class was generated from the following file: