- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sascha,
If you want orange banner to stay orange through the whole image width, the sample image arithmetic addition may not work. Suppose, that you have banner pixels of value (0x100, 0, 0), which in RGB is half-bridht red. Adding to black pixels (0, 0, 0) is OK. Your pixels remain (0x12a, 0, 0). But, what if you add your pixels to gray (say, 0x100, 0x100, 0x100)? You'll get the banner pixels as (0x200, 0x100, 0x100), which is not quite red :).
You need to supersede background pixels with new banner values. It can be done by ippiCopy function. You just need to specify the destination address correctly.
Regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sergey,
I understand now - thank you so much.
When I use ippiCopy function I have "black" background instead of transparent background.(the banner is a png-image with some transparent areas). What I'm doing wrong in this case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sascha,
How many channel is the banner image? If you are using ippiCopy_C3, As IPP function just take 3 channel R,G, B image data, don't take the transparent feature, so you may need to consider to use ippiCopy_xx_C3AC4, which may keep the transparent feature of the banner image.
Best Regards,
Ying

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page