Robert G. Posted October 4, 2017 Report Share Posted October 4, 2017 Cant figure this out Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted October 4, 2017 Report Share Posted October 4, 2017 http://api.ugfx.io/group___image.html#ga0cb760bce6be8c9cb1affc5d568663f1 Link to comment Share on other sites More sharing options...
inmarket Posted October 4, 2017 Report Share Posted October 4, 2017 There are several ways depending on your situation: 1. Your image editor can specify the background color as part of the png file format. Images like this will be displayed with full alpha blending. 2. If you are using the gwinImage object you can specify the background color using the widget style bacground color. Alpha in the image is handled using a cliff value. Alpha values above the cliff are plotted, alpha values below the cliff are left transparent. 3. If just using GDISP then the API link by joel above is the solution. The same cliff characteristics as for point 2 above apply. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now