Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / no transparency with Image.Paste?

Author
Message
sebi
14
Years of Service
User Offline
Joined: 29th Jan 2010
Location:
Posted: 3rd Feb 2010 20:59
hy there,

I've set an colorkey for all images and paste one image over an other. i saw that the image above overwrites the bottom image where at first the colorkey color was.

I hope you understand what i mean -.-

i'm very sorry for my bad english

sebi
sebi
14
Years of Service
User Offline
Joined: 29th Jan 2010
Location:
Posted: 3rd Feb 2010 23:23
sorry please delete the other post.
KISTech
16
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 4th Feb 2010 00:35 Edited at: 4th Feb 2010 00:36
use

paste image (imagenum), (x), (y), 1

The 1 on the end is the transparency flag.

[edit]
Just realized this is GDK.Net. Use the equivalent syntax in the GDK.Net PasteImage command.

sebi
14
Years of Service
User Offline
Joined: 29th Jan 2010
Location:
Posted: 7th Feb 2010 11:51
thanks a lot
works fine

Login to post a reply

Server time is: 2024-04-18 20:21:12
Your offset time is: 2024-04-18 20:21:12