Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

TRANSPARENT DIB?

Posted on 1998-05-25
5
440 Views
Last Modified: 2008-02-26
How Can I realize the transparent DIB?
0
Comment
Question by:jinihl
  • 2
  • 2
5 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 200 total points
ID: 1164707
0
 
LVL 1

Expert Comment

by:vladimir_12345
ID: 1164708
See book:
Jeff Prosize "Programming Windows 95 with MFC", Microsoft Press,
P.803.
If you don't use MFC - at the same function names used in Win API
Good luck, Vladimir_12345


0
 

Author Comment

by:jinihl
ID: 1164709
but how can i darw transparently with over 256colors dib?
0
 

Author Comment

by:jinihl
ID: 1164710
thank for your advice....
but how can i darw transparently with over 256colors dib?
i.e. 16bit, 24bit etc -> these are how can i draw transparently?
wait your answer... please reply me a.s.a.p.  

0
 
LVL 23

Expert Comment

by:chensu
ID: 1164711
You may modify the function I provided on the question Q.10053894. Instead of manipulating the RGB values from the color palette, manipulate the RGB values directly from the bits of the DIB.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question