Animation File Processing via Differential Pixel Encoding
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current methods for exporting animation files with complex effects have low decoding efficiency due to large file sizes, primarily because they do not effectively encode differential pixel regions between bitmap images.
Innovation Solution
The method involves obtaining a bitmap image sequence from an original animation file, encoding differential pixel regions between non-key and key bitmap images using a picture encoding mode, and generating an animation export file based on these encoded images, reducing file size and improving decoding efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the animation file includes complex animation effects with more animation attribute data, then the animation effect becomes more vivid and interesting, but the file size becomes larger
Solution Approach 1:
The patent segments the animation processing into two distinct modes: bitmap sequence frame export mode and video sequence frame export mode. This segmentation allows users to choose the appropriate mode based on their needs, resolving the contradiction between animation effect complexity and file size by providing specialized solutions for different scenarios
Solution Approach 2:
The patent changes the export format parameter from traditional native code to bitmap sequence or video sequence formats. This parameter change fundamentally alters how animation data is stored and processed, enabling complex animation effects to be exported with reduced file sizes through efficient bitmap encoding and video compression techniques
2Ease of manufacture
If the animation file is exported using open-source plug-in, then the animation effect can be implemented, but the decoding efficiency becomes low
Solution Approach 1:
The patent substitutes the traditional mechanical decoding process of native code animation files with a more efficient bitmap-based or video-based decoding mechanism. By replacing the complex native code interpretation with straightforward bitmap sequence or video sequence decoding, the system achieves significantly improved decoding efficiency while maintaining animation export capability
3Loss of information
If the bitmap image is encoded using traditional methods, then the complete image data is preserved, but the file size increases
Solution Approach 1:
The patent extracts and encodes only the essential differential pixel region data between consecutive bitmap frames rather than encoding complete image data. This extraction approach preserves the necessary visual information for animation while significantly reducing the amount of data that needs to be stored and transmitted
Solution Approach 2:
The patent applies partial encoding by focusing only on the differential pixel regions that contain actual animation changes rather than encoding the entire bitmap image. This partial action approach maintains image data completeness for animated regions while avoiding redundant encoding of static areas, thereby reducing overall file size
Data Source
AI summary
An animation file processing method and apparatus, a computer-readable storage medium, and a computer device are provided. The method includes: obtaining a bitmap image sequence corresponding to an original animation file; encoding a differential pixel region between a bitmap image in the bitmap image sequence and a corresponding key bitmap image when the bitmap image is a non-key bitmap image, to obtain an encoded picture corresponding to the bitmap image; and generating an animation export file corresponding to the original animation file according to encoded pictures corresponding to bitmap images in the bitmap image sequence.


