[PATCH] mscms: Handle bitmap formats BM_xRGBQUADS and BM_xBGRQUADS in from_bmformat( BMFORMAT format )

Hans Leidekker hans at codeweavers.com
Tue Oct 19 02:20:28 CDT 2010

On Mon, 2010-10-18 at 18:10 +0200, Tomasz Michno wrote:

> +/* unfortunately GetProcAddress cannot return proper pointer to
> from_bmformat() function, but for this function it's not a problem,
> using copy from ../transform.c */

That's not how it's done in Wine, you will need to go through the
API. In this case that means you need to define a bitmap in the
appropriate format, create a color transform and then call

Note that Wine doesn't bundle a color profile, so you need to
install one, or configure your X server to use one and retrieve
it via GetICMProfile.

More information about the wine-devel mailing list