346 views
in Embedded Wizard Studio by

Hi, 

 

I am Working on to display an Image Using Extern bitmap. and uses EW_PIXEL_FORMAT_ALPHA8 format to display Image.

That works and draw the image in display but it displays cross image. (i atteched the screen shot)

 I want to display it correctly.

 

Thanks,

Chand Bhadaniya

 

1 Answer

0 votes
by

Hello,

it seems that you are very close to the goal...

I assume that you have implemented the ExternBitmap interface according to the corresponding documentation - which also includes an example.

When you lock the bitmap you will get a XBitmapLock structure containing the address to write your image data (Pixel1) and the size of a single row within the bitmap (Pitch1Y). Are you using this parameters within your decoder?

The size of the allocated bitmap may be larger than the size you have requested when creating the bitmap due to alignment requirments.

Best regards,

Manfred

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

...