Reading Jpeg and Converting to HBITMAP – Help
I have this project which I did some time ago in Dev C++ , Now I have to include some image processing in it mainly bitmap , gif and jpeg .
Until now I was using a masm code(dll) which is something like this :
<code>
LOCAL pwszFileName : DWORD, dwLength : DWORD, pPicture : DWORD, hNewBmp : DWORD
invoke CoTaskMemAlloc, eax
mov pwszFileName, eax
invoke MultiByteToWideChar, CP_ACP, 0, pszFileName, -1, pwszFileName, dwLength
……….
……….
……….
<code>
Which worked fine until it had to read a jpeg image taken from a nokia mobile.
It returned null for these particular files.
Why ?
What other options do I have to solve this problem? Since the project is too big and complicated,
porting it to vs is not possible.
Can somebody help me with it please?
Excerpt from:
Reading Jpeg and Converting to HBITMAP – Help
Related posts:
- Save BMP image as JPEG in vc++ Hello All, I have a bmp image.This image i...
- image(jpeg, bmp,png) etc Hi. i have MS c++ 2008 express edition. I...
- how to solve "returned by wsarecv or wsarecvfrom to indicate the remote party has ini Hi, I am Developing an application in which i...
- suggestion with program design – jpeg file interpreter I'm trying to come up with a way to...
- Get pixel form either BITMAP or HBITMAP Hello! I have HBITMAP with some image in it....
Related posts brought to you by Yet Another Related Posts Plugin.
10