This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

RTOS/TDA2P-ACD: Query Regarding Bitmap Image Overlay using Draw2d in Vision SDK

Genius 3705 points

Replies: 2

Views: 65

Part Number: TDA2P-ACD

Tool/software: TI-RTOS

Hello All,

I am currently exploring how to overlay a bitmap image on video buffer in Vision SDK. I have gone through the different files inside "draw2d" module of Vision SDK. For bitmap image I found that a static char array with hex values are being used. So do I need to convert my bitmap image file into similar array of hex values or is there any other way to do it. Is there any tool in vision sdk to convert bitmap image to hex. Please suggest.

Also I want to know in what data format (32-bit ARGB, 32-bit RGBA, 24-bit RGB or any other data format) bitmap image is represented in vision sdk ?

Thanks,

Abhay

  • Hi Abhay,

    You can use "image_convert" and "bin2c" tools located in PROCESSOR_SDK_VISION_03_05_00_00\vision_sdk\apps\tools\misc_tools
    Please check the readme.txt in the directory and also this post how to use the tools:
    e2e.ti.com/.../2482897

    In addition this thread discusses the case if there is transparency:
    e2e.ti.com/.../678656

    Regards,
    Yordan
  • In reply to Yordan Kamenov:

    Hi Yordon,

    Thanks for quick reply. I will go through the links shared by you.

    Regards,
    Abhay

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.