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

Versa 2 image as top layer produces some display glitches clock face development

Hi

I'm a clock face developer and when I've recently tried to load a clock face on my versa 2 the display behaved weird. My index.gui file looks like that:

<svg>
<image x="0" y="0" height="300" width = "300" href ="test.png"/>
</svg>

 

The clock face should do nothing other than displaying the test.png image. However it's displaying the image with some kind of opacity and in the back of the image you can see layers of different previously loaded clock faces. This behavior takes place whatever image I choose png or jpg, grayscale or srgb, with alpa channel and without. In the simulator however everything looks fine. Is this a known hardeware bug of the versa2 or did I (I can't imagine what) something wrong on the code side? 

 

Even when I reduce the size of the image and put a black rect in the background it shows the same behavior. 

 

<svg>
<rect id="background" />
<rect id="backgroundRect" x="0" y="0" width="100%" height="100%" fill="black" />
<image x="10" y="10" height="200" width = "200" href ="red.png" />
</svg>

 

Glad for any help 

 

Greeting Nils

Best Answer
0 Votes
0 REPLIES 0