Animated GIF Palette Segmentation for File Size and Color Quality

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional animated GIFs using global palettes have reduced file size but compromised color quality, while those using local palettes have improved color quality but larger file sizes, necessitating a modification to the palette structure for better performance.

Innovation Solution

The method involves creating an interlaced palette where consecutive frames share the same palette table, determined by the modulo operation of frame numbering, allowing for a tradeoff between file size and color quality by adjusting the value of K, which is an integer greater than or equal to two, and using LZW compression to reduce file size without degrading visual quality.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If a global palette is used for all frames in an animated GIF, then the file size is reduced, but the color quality deteriorates

Engineering Contradiction:
Improvefile sizeVSAvoidcolor quality
Core Design Contradiction:
Quantity of substanceVSManufacturing precision

Solution Approach 1:

The patent divides the sequence of frames into multiple groups of consecutive frames, where each group shares a common palette table. This segmentation approach allows different parts of the animation to have different color palettes, resolving the contradiction between file size and color quality.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Each group of consecutive frames is assigned a dedicated palette table that is optimized for the color requirements of that specific segment. This local quality approach ensures that color quality is maintained within each group while the overall file size is reduced through shared palettes across groups.

Inventive Principle:
Principle #3Local quality

2Manufacturing precision

If a local palette is used for each frame in an animated GIF, then the color quality is improved, but the file size increases

Engineering Contradiction:
Improvecolor qualityVSAvoidfile size
Core Design Contradiction:
Manufacturing precisionVSQuantity of substance

Solution Approach 1:

The patent merges the palette tables of consecutive frames into shared palette tables for groups of frames. This merging reduces the total number of unique palette tables needed compared to using separate local palettes for each frame, thereby reducing file size while maintaining color quality through strategic sharing.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

Each palette table is designed to serve multiple frames simultaneously, making it a universal resource for multiple time steps. This multi-functionality allows the system to achieve both color quality and file size efficiency by having palettes that can be reused across different frames.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Quantity of substance

If the same palette table is used for all frames, then the file size is minimized, but the ability to represent diverse colors across frames is limited

Engineering Contradiction:
Improvefile sizeVSAvoidcolor representation capability
Core Design Contradiction:
Quantity of substanceVSAdaptability or versatility

Solution Approach 1:

The patent introduces dynamic palette assignment where the palette table changes based on the frame number and the grouping strategy. This dynamic approach allows the system to adapt color representation to the specific needs of different frame groups while maintaining file size efficiency through shared palettes.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system pre-determines the grouping of frames into segments and pre-assigns palette tables to each group before processing. This preliminary action allows for optimized color representation in each segment while maintaining overall file size efficiency, as the palette assignment is planned in advance based on the video content analysis.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9077993B2Method of converting a video file to a graphics interchange format image using same palette table for consecutive frames
Publication Date: 2015.07.07 ARCSOFT CORP LTD
  • US9077993B2 patent drawing
  • US9077993B2 patent drawing
  • US9077993B2 patent drawing

AI summary

A method of converting a video file to a Graphics Interchange Format (GIF) image includes converting a plurality of frames of a video file into corresponding frames of a GIF image, creating a first palette table for defining colors in each frame of a first set of consecutive frames of the GIF image, and creating a second palette table for defining colors in each frame of a second set of consecutive frames of the GIF image, wherein the first palette table is not equal to the second palette table and each frame in the first set of consecutive frames is distinct from each frame in the second set of consecutive frames.