136 views
in Platform Packages by

Hallo im trying to roate a needle, using NXP.iMX_RT.Index8 PlattformPackage.

When i start prototyper with color statistics i need to switch to Tara.Win32.RGBA8888 and there is everything clean.

Generated clut file and switched back to Index8.

Now during rotation the object border lines are visable which should not.

bot not at every pixel, kinda random.

I also tried same with just a needle on an rectangle not an image, same issue.

Also tried other simple needle just 1 color, same issue.

Any idea ?

 

 

2 Answers

0 votes
by
Hello Pablo,

I tried to reproduce the application case and I can confirm your observation. It seems to be a bug. As next we have to investigate the cause of the issue. We'll get back to you as soon as we understood the problem.

Best regards

Paul Banach
0 votes
by

Hello Pablo,

thank you once more for pointing out the error. We have found that the problem is caused by the entry 0 in the Color Lookup Table (CLUT). This entry should contain the value #00000000 (transparence). With the next version we will correct the CLUT generation. For the actual version I would recommend following workaround:

1. First generate a CLUT file as explained in Generating application specific CLUT.

2. Assign the resulting Clut.txt file to the Profile member. See Member attributes: Clut.

3. Open the Clut.txt file in a text editor, e.g. in Windows Notepad.

4. Search in the file for a row representing the transparent color. The value is #00000000. For example:

5. Move the row to the begin of the color list. For example:

6. Save the modifications.

7. In Embedded Wizard generate the code. The previously modified Clut.txt is used now.

This should solve the issue. It can be verified in the resulting generated Clut.c file. The file contains an array with color values, the first value in this array is now 0x00000000 as shown below:

Does the workaround help you?

Best regards

Paul Banach

by
It worked!

Thank you very much.

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...