VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



FYI: DIB Portions

by LaVolpe (66 Submissions)
Category: Graphics
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (8 Votes)

Nothing special. An example on how to extract a portion of an image or DC into a DIB Section. The project basically is gray scaling, but the guts of the project can be used for most image byte processing. I wanted a way to extract only a small piece (16x16) of a large bitmap, but didn't want to extract the entire bitmap into an array. Also, I needed to be able to update only that small section (16x16) in the appropriate location. This sample project shows how I plan on doing it & thought it might be of use to some of you too. The routines, by using DIB Sections, are extremely fast, regardless of the size of the target. Tweaked just a bit: 3 Oct/15:00 est

Rate FYI: DIB Portions

Download FYI: DIB Portions

Download FYI: DIB Portions (11 KB)

FYI: DIB Portions Comments

No comments have been posted about FYI: DIB Portions. Why not be the first to post a comment about FYI: DIB Portions.

Post your comment

Subject:
Message:
0/1000 characters