Using the I8 Image Format within GUI Guider

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using the I8 Image Format within GUI Guider

Using the I8 Image Format within GUI Guider

Reducing image resource usage in embedded GUI applications

When developing embedded GUIs, many projects encounter a familiar challenge: image resources begin consuming a significant amount of Flash before the interface becomes complex. Icons, buttons, status indicators, logos, and other assets may seem small individually, but their cumulative footprint can reduce the space available for future features.

I8 (Indexed 8-bit) is an effective option for reducing image storage while preserving acceptable visual quality. This guide explains the fundamentals of I8, its suitable use cases, and practical recommendations for using it in GUI Guider projects.

1. Why Use the I8 Image Format?

In MCU-based projects, image resources often occupy a large portion of Flash. For assets with a limited number of colors, such as icons, status images, logos, and industrial HMI elements, I8 can reduce storage usage while preserving the essential visual appearance.

I8 stores an image using a pixel-index and color-palette mechanism. Each pixel stores a one-byte index, which maps to an actual color in the palette. This makes I8 especially suitable for UI assets with concentrated color sets, clear boundaries, and highly graphical content.

Storage Comparison of Common Image Formats

Image Format

Typical Storage per Pixel

Suitable Use Cases

RGB888

3 bytes

Images with rich colors and high color-fidelity requirements

RGB565

2 bytes

Common MCU displays balancing visual quality and resource usage

ARGB8888

4 bytes

Images requiring an alpha channel and high-quality rendering

I8

1 byte + palette

Icons, logos, and HMI elements with a limited color set

2. What Is an I8 Image?

I8 stands for Indexed 8-bit. Instead of storing complete color information in every pixel, an I8 image stores an 8-bit index that points to a color in a palette. Because an 8-bit value represents up to 256 indices, an I8 image supports a maximum of 256 colors. This format is well suited to UI assets with limited colors, sharp boundaries, and graphic-style content.

Key Advantages

  • Smaller image files and lower Flash consumption.
  • Lightweight resource loading for memory-constrained MCUs.
  • Well suited to icons, industrial HMI elements, status images, and logos.
  • More flexible UI resource management when combined with the LVGL 9.4 image display mechanism.

Limitations

  • Supports no more than 256 colors.
  • Not suitable for photographs, video frames, product renderings, or other color-rich assets.
  • Images with excessive colors may show banding, color distortion, or unnatural transitions after conversion.

3. Recommended Workflow in GUI Guider

Step 1: Prepare the Image Resources

Prefer PNG assets with a limited number of colors. Before importing an image, check whether it contains excessive gradients or photographic content.

Step 2: Import Images into GUI Guider

Add the image resources through Resource Manager and select an appropriate color format based on the display requirements of the project.

Step 3: Select the I8 Color Format

Convert suitable resources to I8 and preview the visual result in GUI Guider.

Step 4: Validate in the Simulator

Use GUI Guider Simulator to check color rendering, transparent regions, edge transitions, and the overall appearance of the page.

Step 5: Generate Code and Validate on the Target

After confirming that the result meets the requirements, generate the code and verify the application on the target development board.

4. Resource Usage Comparison: I8 vs. RGB565

The following theoretical estimates illustrate the resource usage of different formats. Actual size depends on image content, palette size, compression, and project configuration.

Test Resource

Image Format

Theoretical Data Size

128 × 128 icon

RGB565

Approximately 32 KB

128 × 128 icon

ARGB8888

Approximately 64 KB

128 × 128 icon

I8

Approximately 16 KB + palette

From a resource-budget perspective, I8 reduces image storage when the color count can be controlled. The cumulative savings become more significant in HMI projects that contain many icons and status images.

5. Important Considerations When Using I8

1. Prefer Images with Fewer Than 256 Colors

The core limitation of I8 is the palette size, so images with fewer colors are the best candidates.

2. Always Check the Visual Result After Conversion

Even when an image contains relatively few colors, verify the result both in GUI Guider Simulator and on the target hardware.

3. Pay Attention to Transparency and Edge Transitions

For images with transparent or anti-aliased edges, check for jagged borders, artifacts, or unnatural colors after conversion.

4. Do Not Convert Every Image Blindly

I8 is an optimization technique, not the default choice for every asset. Complex backgrounds and photographic resources should continue to use a more appropriate color format.

6. Project Practice Recommendations

In the GUI Guider Air Conditioner and Agriculture Control templates, selected images use I8 to save storage space and enable deployment on the FRDM-MCXN236 development board.

  • Set suitable icons and status images to the I8 format.
  • Compare the visual quality and resource size before and after conversion.
  • After code generation, confirm that generated resources use the expected image format.
  • Validate visual quality, refresh performance, and memory usage on the target platform.

Example 1: Air Conditioner

The Air Conditioner application template contains many animations and small icons. The comparison below shows ARGB8888 and I8 results. While maintaining image quality, I8 saves approximately 950 KB, allowing the application to run on the FRDM-MCXN236 development board.

zhenhualuo_0-1793268110959.png

 

zhenhualuo_1-1793268111026.png

 

Figure 1. Air Conditioner comparison: I8 (left) and ARGB8888 (right).

Example 2: Agriculture Control

In the Agriculture Control application template, using I8 saves approximately 16.5 KB of storage.

zhenhualuo_2-1793268111173.png

 

zhenhualuo_3-1793268111316.png

 

Figure 2. Agriculture Control comparison: I8 (left) and ARGB8888 (right).

Conclusion

For small and medium-sized HMI projects on platforms such as MCX and i.MX RT, I8 is a practical method for optimizing image resources. It is particularly useful when a project contains many icons, status indicators, menu graphics, and decorative elements. Applied selectively and validated carefully, I8 can release more Flash space while maintaining an appropriate visual experience.

%3CLINGO-SUB%20id%3D%22lingo-sub-2424508%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EUsing%20the%20I8%20Image%20Format%20within%20GUI%20Guider%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2424508%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%3CP%3E%3CSTRONG%3EReducing%20image%20resource%20usage%20in%20embedded%20GUI%20applications%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EWhen%20developing%20embedded%20GUIs%2C%20many%20projects%20encounter%20a%20familiar%20challenge%3A%20image%20resources%20begin%20consuming%20a%20significant%20amount%20of%20Flash%20before%20the%20interface%20becomes%20complex.%20Icons%2C%20buttons%2C%20status%20indicators%2C%20logos%2C%20and%20other%20assets%20may%20seem%20small%20individually%2C%20but%20their%20cumulative%20footprint%20can%20reduce%20the%20space%20available%20for%20future%20features.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI8%20(Indexed%208-bit)%20is%20an%20effective%20option%20for%20reducing%20image%20storage%20while%20preserving%20acceptable%20visual%20quality.%20This%20guide%20explains%20the%20fundamentals%20of%20I8%2C%20its%20suitable%20use%20cases%2C%20and%20practical%20recommendations%20for%20using%20it%20in%20GUI%20Guider%20projects.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-1355847128%22%20id%3D%22toc-hId-1355847129%22%3E%3CSPAN%3E1.%20Why%20Use%20the%20I8%20Image%20Format%3F%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CP%3E%3CSPAN%3EIn%20MCU-based%20projects%2C%20image%20resources%20often%20occupy%20a%20large%20portion%20of%20Flash.%20For%20assets%20with%20a%20limited%20number%20of%20colors%2C%20such%20as%20icons%2C%20status%20images%2C%20logos%2C%20and%20industrial%20HMI%20elements%2C%20I8%20can%20reduce%20storage%20usage%20while%20preserving%20the%20essential%20visual%20appearance.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EI8%20stores%20an%20image%20using%20a%20pixel-index%20and%20color-palette%20mechanism.%20Each%20pixel%20stores%20a%20one-byte%20index%2C%20which%20maps%20to%20an%20actual%20color%20in%20the%20palette.%20This%20makes%20I8%20especially%20suitable%20for%20UI%20assets%20with%20concentrated%20color%20sets%2C%20clear%20boundaries%2C%20and%20highly%20graphical%20content.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-2046408602%22%20id%3D%22toc-hId-2046408603%22%3E%3CSPAN%3EStorage%20Comparison%20of%20Common%20Image%20Formats%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22115%22%3E%0A%3CP%3E%3CSTRONG%3EImage%20Format%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22173%22%3E%0A%3CP%3E%3CSTRONG%3ETypical%20Storage%20per%20Pixel%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22326%22%3E%0A%3CP%3E%3CSTRONG%3ESuitable%20Use%20Cases%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22115%22%3E%0A%3CP%3E%3CSPAN%3ERGB888%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22173%22%3E%0A%3CP%3E%3CSPAN%3E3%20bytes%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22326%22%3E%0A%3CP%3E%3CSPAN%3EImages%20with%20rich%20colors%20and%20high%20color-fidelity%20requirements%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22115%22%3E%0A%3CP%3ERGB565%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22173%22%3E%0A%3CP%3E2%20bytes%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22326%22%3E%0A%3CP%3ECommon%20MCU%20displays%20balancing%20visual%20quality%20and%20resource%20usage%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22115%22%3E%0A%3CP%3E%3CSPAN%3EARGB8888%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22173%22%3E%0A%3CP%3E%3CSPAN%3E4%20bytes%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22326%22%3E%0A%3CP%3E%3CSPAN%3EImages%20requiring%20an%20alpha%20channel%20and%20high-quality%20rendering%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22115%22%3E%0A%3CP%3EI8%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22173%22%3E%0A%3CP%3E1%20byte%20%2B%20palette%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22326%22%3E%0A%3CP%3EIcons%2C%20logos%2C%20and%20HMI%20elements%20with%20a%20limited%20color%20set%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CH1%20id%3D%22toc-hId-2035905498%22%20id%3D%22toc-hId-2035905499%22%3E%3CSPAN%3E2.%20What%20Is%20an%20I8%20Image%3F%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CP%3E%3CSPAN%3EI8%20stands%20for%20Indexed%208-bit.%20Instead%20of%20storing%20complete%20color%20information%20in%20every%20pixel%2C%20an%20I8%20image%20stores%20an%208-bit%20index%20that%20points%20to%20a%20color%20in%20a%20palette.%20Because%20an%208-bit%20value%20represents%20up%20to%20256%20indices%2C%20an%20I8%20image%20supports%20a%20maximum%20of%20256%20colors.%20This%20format%20is%20well%20suited%20to%20UI%20assets%20with%20limited%20colors%2C%20sharp%20boundaries%2C%20and%20graphic-style%20content.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1568500324%22%20id%3D%22toc-hId--1568500323%22%3E%3CSPAN%3EKey%20Advantages%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3ESmaller%20image%20files%20and%20lower%20Flash%20consumption.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ELightweight%20resource%20loading%20for%20memory-constrained%20MCUs.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EWell%20suited%20to%20icons%2C%20industrial%20HMI%20elements%2C%20status%20images%2C%20and%20logos.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EMore%20flexible%20UI%20resource%20management%20when%20combined%20with%20the%20LVGL%209.4%20image%20display%20mechanism.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId-919012509%22%20id%3D%22toc-hId-919012510%22%3E%3CSPAN%3ELimitations%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3ESupports%20no%20more%20than%20256%20colors.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ENot%20suitable%20for%20photographs%2C%20video%20frames%2C%20product%20renderings%2C%20or%20other%20color-rich%20assets.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EImages%20with%20excessive%20colors%20may%20show%20banding%2C%20color%20distortion%2C%20or%20unnatural%20transitions%20after%20conversion.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH1%20id%3D%22toc-hId-908509405%22%20id%3D%22toc-hId-908509406%22%3E%3CSPAN%3E3.%20Recommended%20Workflow%20in%20GUI%20Guider%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CH2%20id%3D%22toc-hId-1599070879%22%20id%3D%22toc-hId-1599070880%22%3E%3CSPAN%3EStep%201%3A%20Prepare%20the%20Image%20Resources%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EPrefer%20PNG%20assets%20with%20a%20limited%20number%20of%20colors.%20Before%20importing%20an%20image%2C%20check%20whether%20it%20contains%20excessive%20gradients%20or%20photographic%20content.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--208383584%22%20id%3D%22toc-hId--208383583%22%3E%3CSPAN%3EStep%202%3A%20Import%20Images%20into%20GUI%20Guider%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EAdd%20the%20image%20resources%20through%20Resource%20Manager%20and%20select%20an%20appropriate%20color%20format%20based%20on%20the%20display%20requirements%20of%20the%20project.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--2015838047%22%20id%3D%22toc-hId--2015838046%22%3E%3CSPAN%3EStep%203%3A%20Select%20the%20I8%20Color%20Format%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EConvert%20suitable%20resources%20to%20I8%20and%20preview%20the%20visual%20result%20in%20GUI%20Guider.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-471674786%22%20id%3D%22toc-hId-471674787%22%3E%3CSPAN%3EStep%204%3A%20Validate%20in%20the%20Simulator%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EUse%20GUI%20Guider%20Simulator%20to%20check%20color%20rendering%2C%20transparent%20regions%2C%20edge%20transitions%2C%20and%20the%20overall%20appearance%20of%20the%20page.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-337990062%22%20id%3D%22toc-hId-337990063%22%3E%3CSPAN%3EStep%205%3A%20Generate%20Code%20and%20Validate%20on%20the%20Target%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EAfter%20confirming%20that%20the%20result%20meets%20the%20requirements%2C%20generate%20the%20code%20and%20verify%20the%20application%20on%20the%20target%20development%20board.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--1598547120%22%20id%3D%22toc-hId--1598547119%22%3E%3CSPAN%3E4.%20Resource%20Usage%20Comparison%3A%20I8%20vs.%20RGB565%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CP%3E%3CSPAN%3EThe%20following%20theoretical%20estimates%20illustrate%20the%20resource%20usage%20of%20different%20formats.%20Actual%20size%20depends%20on%20image%20content%2C%20palette%20size%2C%20compression%2C%20and%20project%20configuration.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22202%22%3E%0A%3CP%3E%3CSTRONG%3ETest%20Resource%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22144%22%3E%0A%3CP%3E%3CSTRONG%3EImage%20Format%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22269%22%3E%0A%3CP%3E%3CSTRONG%3ETheoretical%20Data%20Size%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22202%22%3E%0A%3CP%3E%3CSPAN%3E128%20%C3%97%20128%20icon%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22144%22%3E%0A%3CP%3E%3CSPAN%3ERGB565%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22269%22%3E%0A%3CP%3E%3CSPAN%3EApproximately%2032%20KB%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22202%22%3E%0A%3CP%3E128%20%C3%97%20128%20icon%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22144%22%3E%0A%3CP%3EARGB8888%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22269%22%3E%0A%3CP%3EApproximately%2064%20KB%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22202%22%3E%0A%3CP%3E%3CSPAN%3E128%20%C3%97%20128%20icon%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22144%22%3E%0A%3CP%3E%3CSPAN%3EI8%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22269%22%3E%0A%3CP%3E%3CSPAN%3EApproximately%2016%20KB%20%2B%20palette%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%3CSPAN%3EFrom%20a%20resource-budget%20perspective%2C%20I8%20reduces%20image%20storage%20when%20the%20color%20count%20can%20be%20controlled.%20The%20cumulative%20savings%20become%20more%20significant%20in%20HMI%20projects%20that%20contain%20many%20icons%20and%20status%20images.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-888965713%22%20id%3D%22toc-hId-888965714%22%3E%3CSPAN%3E5.%20Important%20Considerations%20When%20Using%20I8%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CH2%20id%3D%22toc-hId--789406031%22%20id%3D%22toc-hId--789406030%22%3E%3CSPAN%3E1.%20Prefer%20Images%20with%20Fewer%20Than%20256%20Colors%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EThe%20core%20limitation%20of%20I8%20is%20the%20palette%20size%2C%20so%20images%20with%20fewer%20colors%20are%20the%20best%20candidates.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1698106802%22%20id%3D%22toc-hId-1698106803%22%3E%3CSPAN%3E2.%20Always%20Check%20the%20Visual%20Result%20After%20Conversion%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EEven%20when%20an%20image%20contains%20relatively%20few%20colors%2C%20verify%20the%20result%20both%20in%20GUI%20Guider%20Simulator%20and%20on%20the%20target%20hardware.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--109347661%22%20id%3D%22toc-hId--109347660%22%3E%3CSPAN%3E3.%20Pay%20Attention%20to%20Transparency%20and%20Edge%20Transitions%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EFor%20images%20with%20transparent%20or%20anti-aliased%20edges%2C%20check%20for%20jagged%20borders%2C%20artifacts%2C%20or%20unnatural%20colors%20after%20conversion.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1916802124%22%20id%3D%22toc-hId--1916802123%22%3E%3CSPAN%3E4.%20Do%20Not%20Convert%20Every%20Image%20Blindly%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EI8%20is%20an%20optimization%20technique%2C%20not%20the%20default%20choice%20for%20every%20asset.%20Complex%20backgrounds%20and%20photographic%20resources%20should%20continue%20to%20use%20a%20more%20appropriate%20color%20format.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-441627990%22%20id%3D%22toc-hId-441627991%22%3E%3CSPAN%3E6.%20Project%20Practice%20Recommendations%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CP%3E%3CSPAN%3EIn%20the%20GUI%20Guider%20Air%20Conditioner%20and%20Agriculture%20Control%20templates%2C%20selected%20images%20use%20I8%20to%20save%20storage%20space%20and%20enable%20deployment%20on%20the%20FRDM-MCXN236%20development%20board.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3ESet%20suitable%20icons%20and%20status%20images%20to%20the%20I8%20format.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ECompare%20the%20visual%20quality%20and%20resource%20size%20before%20and%20after%20conversion.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EAfter%20code%20generation%2C%20confirm%20that%20generated%20resources%20use%20the%20expected%20image%20format.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EValidate%20visual%20quality%2C%20refresh%20performance%2C%20and%20memory%20usage%20on%20the%20target%20platform.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--1236743754%22%20id%3D%22toc-hId--1236743753%22%3E%3CSPAN%3EExample%201%3A%20Air%20Conditioner%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EThe%20Air%20Conditioner%20application%20template%20contains%20many%20animations%20and%20small%20icons.%20The%20comparison%20below%20shows%20ARGB8888%20and%20I8%20results.%20While%20maintaining%20image%20quality%2C%20I8%20saves%20approximately%20950%20KB%2C%20allowing%20the%20application%20to%20run%20on%20the%20FRDM-MCXN236%20development%20board.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22333%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zhenhualuo_0-1793268110959.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhenhualuo_0-1793268110959.png%22%20style%3D%22width%3A%20377px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F398637i151771BFDE3EE881%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22zhenhualuo_0-1793268110959.png%22%20alt%3D%22zhenhualuo_0-1793268110959.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22333%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zhenhualuo_1-1793268111026.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhenhualuo_1-1793268111026.png%22%20style%3D%22width%3A%20378px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F398636i589DFEF6D1F6E73B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22zhenhualuo_1-1793268111026.png%22%20alt%3D%22zhenhualuo_1-1793268111026.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%3CSPAN%3EFigure%201.%20Air%20Conditioner%20comparison%3A%20I8%20(left)%20and%20ARGB8888%20(right).%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1250769079%22%20id%3D%22toc-hId-1250769080%22%3E%3CSPAN%3EExample%202%3A%20Agriculture%20Control%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EIn%20the%20Agriculture%20Control%20application%20template%2C%20using%20I8%20saves%20approximately%2016.5%20KB%20of%20storage.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22333%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zhenhualuo_2-1793268111173.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhenhualuo_2-1793268111173.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F398638i931535DA38BE63CD%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22zhenhualuo_2-1793268111173.png%22%20alt%3D%22zhenhualuo_2-1793268111173.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22333%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22zhenhualuo_3-1793268111316.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22zhenhualuo_3-1793268111316.png%22%20style%3D%22width%3A%20391px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F398639i5DA0973A5971683E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22zhenhualuo_3-1793268111316.png%22%20alt%3D%22zhenhualuo_3-1793268111316.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%3CSPAN%3EFigure%202.%20Agriculture%20Control%20comparison%3A%20I8%20(left)%20and%20ARGB8888%20(right).%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-12393838%22%20id%3D%22toc-hId-12393839%22%3E%3CSPAN%3EConclusion%3C%2FSPAN%3E%3C%2FH1%3E%0A%3CP%3E%3CSPAN%3EFor%20small%20and%20medium-sized%20HMI%20projects%20on%20platforms%20such%20as%20MCX%20and%20i.MX%20RT%2C%20I8%20is%20a%20practical%20method%20for%20optimizing%20image%20resources.%20It%20is%20particularly%20useful%20when%20a%20project%20contains%20many%20icons%2C%20status%20indicators%2C%20menu%20graphics%2C%20and%20decorative%20elements.%20Applied%20selectively%20and%20validated%20carefully%2C%20I8%20can%20release%20more%20Flash%20space%20while%20maintaining%20an%20appropriate%20visual%20experience.%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
a week ago
Updated by: