16,009,598 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Rajeshkumar Ramasamy (Top 16 by date)
Rajeshkumar Ramasamy
5-Jun-13 7:11am
View
I got it :-)
Rajeshkumar Ramasamy
3-Jun-13 8:07am
View
Alpha Blend function apply the transparency to all pixels. What i want is, I have the pixel array containing the RGBA (RGB and Alpha)values consequently. I want to apply the alpha value for each pixel.
For that I am using BITMAPV4HEADER and SetDIBitsToDevice function to draw the pixel array into picture box. But the Alpha value is not working (RGB is working fine).
How can i use alpha value??
Rajeshkumar Ramasamy
27-May-13 10:03am
View
Iain,
Are you aware of Alpha Blend function?
I want to draw the Transparent BITMAP, As said earlier i have the pixel array that containing the RGB and Alpha value. But transparency not happening..
Regards,
Rajesh.
Rajeshkumar Ramasamy
27-May-13 8:38am
View
Jochen,
I am containing the pixel array containing the RGB and Alpha value. I can able to plot the RGB values in display, but Alpha (for transparency) is not working. How can Implement this?
I am using setDIBitsToDevice function to plot the pixel array into display.
Rajesh.
Rajeshkumar Ramasamy
24-May-13 2:22am
View
Put your code here.
Rajeshkumar Ramasamy
23-May-13 2:00am
View
Iain,
I solved It:-)
Thanks for your co operation.
Rajesh
Rajeshkumar Ramasamy
22-May-13 3:28am
View
Iain,
Still problem is there.
If you don't mind, give your email, I will send the Outputs (what exactly I want & what I have now). Otherwise Can I upload the image here?
The problem is, I got the picture, but some alignment problem is there.
Rajesh
Rajeshkumar Ramasamy
21-May-13 6:26am
View
Iain,
One more doubt,
As said earlier, I have the pixel array (24 bpp format & 1024x1024) contains the RGB values, but It has no padding byte values.
How can I add Padding Bytes (24 bpp format) into the pixel array?
Rajeshkumar Ramasamy
20-May-13 4:51am
View
Iain Clarke,
Thanks for your previous quick reply.
Bitmap pixel format have the color format in the order of blue, green, red.
I am containing the 2D array, which contains the value in the order of red, green and blue.
When I am print the 2D array, the color pattern is not look like what I want.
How can I map the My RGB format to BGR?
Rajesh
Rajeshkumar Ramasamy
15-May-13 3:30am
View
Iain Clarke,
I think you understand my question.
I have only a 2D Array (1024 x 1024), which contains the RGB colors.
My question is, I want to plot these array of pixel into picture box or bitmap, whatever at a time, Now I am using loop for drawing the same, It take more CPU utilization.
But, In SetDIBitsToDevice, We can copy the from a bitmap to destination, Am I right?
Rajeshkumar Ramasamy
15-May-13 2:11am
View
Are you have any example for SetDIBitsToDevice?
Rajeshkumar Ramasamy
27-Mar-13 5:10am
View
I have inserted a Form (CFormView) in MFC Mainframe. In that form, when i am going to repaint, at the time flickering happen. For that i will have to use EraseBackGround (in false mode) function. But in the form's class wizard WM_ERASEBKGND is not available. So how can i include EraseBackGround function in that form?
Rajeshkumar Ramasamy
22-Mar-13 4:51am
View
Sergey, I want to draw (pixel by pixel) in a form. It take time to draw pixel by pixel (range : 1024 x 1024). Any Tools/Controls are there for draw?
Rajeshkumar Ramasamy
21-Mar-13 0:29am
View
Any Controls are there for drawing, Instead of draw pixel by pixel.
Rajeshkumar Ramasamy
20-Mar-13 8:02am
View
Yes, IDC_PICBOX is child window of CSplitterOne class.
Rajeshkumar Ramasamy
12-Mar-13 8:09am
View
I had Create same form using Splitter Window. I have to call the OnPerformIBIT() function from MainFrm.cpp. I am not got the handle when I am calling from MainFrm.cpp, If I put the same function from OnPaint & OnInitialUpdate, it works. How can i get the window handle if i'm call from Mainfrm.cpp?
Show More