[Android]I need to convert Bitmap to ITexture

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello,
    For my extension I have a android.graphics.Bitmap object and I need to convert it to ITexture for use GLRenderer.inst.renderImage function.
    I try to create my extends ITexture class but it don't work.

    Thanks

  • I try with an other custom classe but my application crash


    [MENTION=6268]Fernando[/MENTION] I need your help :)

  • Can you send me your email ? I can share my code repository.

    Yes I checked ActivePicture but my extension create a Bitmap object with canvas for blit part of images. But when I call "GLRenderer.inst.renderImage" I need to send ITexture and I have Bitmap object.

    Edited once, last by Xenon3000 (February 26, 2020 at 5:10 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!