PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
dCopyBlt
dCopyBlt
Started by Piet van Zanten, Feb., 04 2004 12:27 AM - 1 reply
Connect yourself…
Piet van Zanten
#1
Posted on February, 04 2004 - 12:27 AM
I want to copy one (small) picture on top of another (large one), with tranparancy. The background of the small picture should not be visible. I used dCopyBlt with all the different options, but I can't get rid of the white background rectangle. Anyone know a solution?
Regards,
Piet
Report
0
0
Ola Pedersen
#2
Posted on February, 04 2004 - 9:19 AM
Hi Piet
I haven't yet played around with dCopyBlt, but the first question that comes to my mind, is this:
Does the top picture have a transparent background?
Note, that not all picture file formats can have a transparent bg.
For instance jpg cannot, but gif can.
Use your favorite bitmap editing application to make the bg transparent and then try again. Usually this involves drawing a "clipping path" around the object that you want to remain visible, and perhaps painting the background with some specific color, such as magenta. But check the specific instructions in your bitmap editor.
My favorite bitmap editor is Corel Photopaint because it comes free with Corel Draw, is very adjustable, and can do anything I need, but some people use Photoshop (very expensive) or Paint Shop Pro (somewhat limited in features).
best regards
Ola Pedersen
I want to copy one (small) picture on top of another (large one), with tranparancy. The background of the small picture should not be visible. I used dCopyBlt with all the different options, but I can't get rid of the white background rectangle. Anyone know a solution?
Regards,
Piet
Pienoismalli magazine
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text