Neil Pate 192 Report post Posted February 18, 2018 I have a customer logo, a PNG with a transparent background and I wish to programatically display it on a FP which also happens to have a picture (static) pasted into the background. I have tried to use a native 2D picture control and also a .net Picturebox but cannot get the logo displaying nicely with proper transparency. This is all a bit deja-vu for me as I struggled with a similar issue some years ago however none of those techniques seemed to do the trick now. All the forum posts seem to indicate this is quite a tricky thing to get right. Any ideas? Share this post Link to post Share on other sites
Antoine Chalons 69 Report post Posted February 19, 2018 just thinking out loud, have you tried to use BitMan toolkit to merge the 2 images in one and then display it? 1 Share this post Link to post Share on other sites
vugie 158 Report post Posted February 19, 2018 57 minutes ago, Antoine Chalons said: just thinking out loud, have you tried to use BitMan toolkit to merge the 2 images in one and then display it? Wow, I'm surprised anyone here remembers this rusty tool Yes, it should do the job. It is available here: http://sine.ni.com/nips/cds/view/p/lang/pl/nid/209830 Check out clock.vi example 2 Share this post Link to post Share on other sites
Neil Pate 192 Report post Posted February 19, 2018 Thanks for the suggestions; I have used BitMan in the past to do some image scaling. However in this case I am not sure it is going to help me as my background image is "static" i.e. pasted into the FP background. Share this post Link to post Share on other sites
vugie 158 Report post Posted February 19, 2018 (edited) Check out Channel Operations.vi example then Edited February 19, 2018 by vugie 2 Share this post Link to post Share on other sites
hooovahh 655 Report post Posted February 19, 2018 Where have you been all my life? Seriously though in all the various posts I've made with my "Image Manipulation" code (another thread on LAVA) which leverages .Net and the PictureBox allowing for alpha layer images, and combining layers of alpha images. In none of these threads has BitMan ever been mentioned. I even have used my Image Manipulation code in other projects like the Toolbar Class for things like button overlays on mouse over, but still didn't know this existed. I think somethings probably have better performance on .Net like resizing, but still I likely wouldn't have dove into developing that code if I knew this existed. Oh and the added benefit of being able to have controls on top, or below the image (which PictureBox can't) is awesome. Share this post Link to post Share on other sites
Neil Pate 192 Report post Posted February 19, 2018 Awesome, works perfectly! Thank you so much. Share this post Link to post Share on other sites
vugie 158 Report post Posted February 19, 2018 10 minutes ago, hooovahh said: Where have you been all my life? Sorry, I'm not very often here for last few years. Even less on the dark side... Share this post Link to post Share on other sites
ShaunR 768 Report post Posted February 21, 2018 (edited) On 19/02/2018 at 11:56 AM, vugie said: Wow, I'm surprised anyone here remembers this rusty tool Hardly "rusty". Any software that is still at 1.0.1 after years of use is made of stainless steel People just don't know how to release fully featured and tested software any more. Users have been conditioned to think that software that is continuously updated and fixed can only be good when, in reality, it is a testament to how poor the design, implementation and testing is. Edited February 21, 2018 by ShaunR 4 Share this post Link to post Share on other sites
mje 193 Report post Posted February 22, 2018 Seriously vugie, BitMan is a fantastic library. Share this post Link to post Share on other sites