Picture Loading Method Using Local Quality for Storage and Speed
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies face challenges in reducing picture storage size and improving loading speed in embedded systems, due to limited internal memory and the need for unified formats like ARGB8888, which wastes resources and increases loading time.
Innovation Solution
A picture loading method that determines the appropriate rendering operation based on the source format of the picture file, allowing for different formats such as ARGB8888, RGB24, and RGB16 to be used depending on the scenario, thereby reducing storage size and loading time.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If all pictures are converted to ARGB8888 format to support transparent overlay, then transparency effect is achieved, but storage space is wasted and loading time increases
Solution Approach 1:
The patent applies local quality by using different picture formats in different regions or scenarios: ARGB8888 format is used only where transparency is required, while RGB565 or RGB888 formats are used in other regions where transparency is not needed. This allows the system to achieve transparency effects only where necessary, rather than uniformly applying the high-memory ARGB8888 format across all pictures, thereby reducing overall storage space requirements while maintaining the required transparent overlay functionality in specific areas.
2Reliability
If all pictures are converted to ARGB8888 format to support transparent overlay, then transparency effect is achieved, but loading time increases
Solution Approach 1:
The patent reduces loading time by applying local quality: only pictures that require transparency effects are converted to and loaded in ARGB8888 format, while other pictures are loaded in more compact formats like RGB565 or RGB888. This selective approach minimizes the total data volume that needs to be loaded from flash to PSRAM, thereby reducing overall loading time while still providing transparency effects where needed.
3Quantity of substance
If PSRAM size is reduced to save hardware costs, then hardware cost is reduced, but picture loading speed decreases
Solution Approach 1:
The patent applies parameter changes by altering the bit depth and color format parameters of pictures based on their specific requirements. By using RGB565 (5-6-5 bits) or RGB888 (8-8-8 bits) formats instead of uniformly using ARGB8888 (8-8-8-8 bits with alpha channel), the system reduces the data size of picture resources. This allows the PSRAM to be sized smaller while still accommodating the necessary picture data, and the reduced data volume improves loading speed from flash to PSRAM.
4Adaptability or versatility
If picture resources are cleared during page switching to load new resources, then new page resources can be loaded, but response time increases
Solution Approach 1:
The patent reduces response time during page switching by applying parameter changes: pictures are stored and loaded in optimized formats (RGB565 or RGB888) with smaller data sizes. This reduces the time required to clear and reload picture resources during page transitions, while the system maintains adaptability to support transparent overlay effects when needed by using ARGB8888 format for specific pictures that require transparency.
Data Source
AI summary
A picture loading method includes an electronic device that obtains a first picture file. The first picture file includes a format field and a data field. The format field indicates a source format of the first picture file, and the data field includes pixel data of the first picture file. The electronic device determines, based on the source format of the first picture file, a rendering operation corresponding to the first picture file and renders the first picture file on a display.


