public final enum

GifColorTable

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ co.megacool.megacool.GifColorTable

Class Overview

Configures how colors in the recording should be represented in the GIF.

By default we use an algorithm that extracts the colors from a subset of the frames in the recording (DYNAMIC).

Summary

Enum Values
GifColorTable  DYNAMIC  A subset of frames throughout the recording are analyzed to find the color table that'll best represent the recording. 
GifColorTable  FIXED  Use a fixed color table. 
Public Methods
static GifColorTable valueOf(String name)
final static GifColorTable[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final GifColorTable DYNAMIC

A subset of frames throughout the recording are analyzed to find the color table that'll best represent the recording. This takes a bit more time, but gives good results for most recordings.

This is the default.

public static final GifColorTable FIXED

Use a fixed color table.

This is the fastest option since it doesn't need any analysis, but it doesn't represent nuanced colors or gradients that well.

Public Methods

public static GifColorTable valueOf (String name)

public static final GifColorTable[] values ()