|
Device-Independent Bitmaps and Enhanced Metafiles
To provide for image color matching, color characterization is included in
device-independent bitmaps (DIBs) and enhanced metafiles. In DIBs, the color
characterization is placed in the DIB header. In enhanced metafiles, the
characterization is in metafile records. Color characterization is not available for
compatible bitmaps and standard (16-bit) metafiles.
You set the color characterization for a DIB by setting the appropriate
members in the BITMAPV4HEADER structure for the DIB. This structure is identical to the BITMAPINFOHEADER structure except that it includes members that define the color space type,
color endpoints, and other related values. Some operating systems support the
device CMYK color space type in DIBs but only for 32-bit DIBs. In such cases, the
output device must also accept this format. If a DIB does not contain color
characterization information, the system uses a default characterization.
You set color characterization for an enhanced metafile by using the CreateColorSpace and SetColorSpace functions when recording the metafile. The system records information about
the color spaces and carries out color matching with the intended output device
when the metafile is played. The system also records the SetICMMode and DeleteColorSpace functions, but no other image color matching functions can be used with
enhanced metafiles. If you specify a color profile in the LOGCOLORSPACE structure when recording an enhanced metafile, the system records the
filename of the color profile but not the content of the profile. This is similar to
the way fonts are handled in enhanced metafiles.
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|