Advertisement
7_2009-2012 Graphics #227431

FYI: DIB Portions

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

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine