Claudius.Utils_gifCommon utilies for screenshot and animation handling
val color_table_of_palette : Palette.t -> Giflib.ColorTable.tcolor_table_of_palette palette converts a palette to a GIF color table.
pad_palette_to_power_of_two table extends a color table to the next power of two, padding with black as needed, up to maximum 256 colors.
val capture_frame : Screen.t -> Framebuffer.t -> Giflib.Image.tcapture_frame screen framebuffer captures the current framebuffer contents as a compressed GIF image. Raises Failure if framebuffer contains invalid pixels.