No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
This program shows how to display a JPEG (also GIF,BMP,WMF etc.) image using some Windows Graphical User Interface C code. The program uses the uuid.lib file that comes with many C compilers. |
|
Hi Everyone, My name is Maldini, I'm glad i found this forum, and I hope to soon be able to help others as I know they will help me. maldini |
|
Hi Does anyone know why the following code causes me a memory leak: [code]HGLOBAL hGlobal = GlobalAlloc( GMEM_FIXED, aJpegSize ); void* p = GlobalLock(hGlobal); memcpy((char *)p,imageptr,aJpegSize); GlobalUnlock(hGlobal); IStream* pStream = NULL; if ( CreateStreamOnHGlobal( hGlobal, TRUE, &pStream ) == S_OK); { if ( aPicture == NULL ) delete aPicture; aPicture … |
|
Hi, I am having problems with the StretchDIBits function. The w->length contains the size of the jpeg. And the w->p contains a pointer to the begining of the jpeg data. Nothing displays onto the screen just a white box. Any Help would be really appriciated. [code]HDC dc = BeginPaint( hwnd, … |
|
Hi Guys, I am writting some c++ code. And need to use the directx library to render images to the screen. For those you don't have a CPU speed problem(like I have) you can render jpegs images onto the screen in real time with Ipicture class. However I have a … |