618 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 - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...