well EmWi is smart but no too smart :o) Such kind of optimization is not implemented. If your project contains 2 resources, then you will get also 2 sets of generated bitmap pixel data - even if the both original resource members refer to one and the same PNG file.
You can test following: create a copy of the PNG file with another name. Use this copy for one of the resources while the other resource should use the original PNG file. Now the both resources do not refer the same PNG file - they have nothing in comun. You can even test what happens when you configure the second resource with another PNG file. What image does appear now in your screen?
Anyway are you sure, in your implementation the both resources are not confound? You can add code to your screen to trace the bitmap, which is displayed in the affected screen. For example, add a push button to the screen and connect it to a slot method. In the method implement something similar to the following code (the_image_view refers to view where the bitmap is displayed):
When the screen appears and you press the button, the name of the bitmap resource is displayed in the log window. Verify this name.
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!