-
December 19th, 2008, 02:54 AM
#1
Convert Bmp to Jpeg
Hi I am capturing window image and save as a bmp,..
Now i want to convert this bmp files to jpef files... name and size should be change regarding to jpeg..
Can anyone give me a idea or send me a code for this ?
Thanks in advance,
Riyas.B
Growing developer
-
December 19th, 2008, 05:19 AM
#2
Re: Convert Bmp to Jpeg
The idea is to go with CImage
Best regards,
Igor
-
December 19th, 2008, 08:22 AM
#3
Re: Convert Bmp to Jpeg
You don't need anything.
It's done with one native win32 api call (SH)
see news://comp.os.ms-windows.programmer.win32 (FAQ)
-
December 19th, 2008, 12:51 PM
#4
Re: Convert Bmp to Jpeg
Originally Posted by Laurentis
Why don't you post the name of the function, or a valuable link?
-
December 20th, 2008, 07:18 AM
#5
Re: Convert Bmp to Jpeg
Originally Posted by cilu
Why don't you post the name of the function, or a valuable link?
It's a NNTP link and it works fine - api found in 2.56 seconds...
-
December 21st, 2008, 07:20 PM
#6
Re: Convert Bmp to Jpeg
Originally Posted by fred100
It's a NNTP link and it works fine
Great. Now what if someone is working on a browser and has no nntp access, say at their worksite? Or they don't want to subscribe to that newsgroup?
Just post a real URL link.
Regards,
Paul McKenzie
-
December 21st, 2008, 07:25 PM
#7
Re: Convert Bmp to Jpeg
Originally Posted by Paul McKenzie
Great. Now what if someone is working on a browser and has no nntp access, say at their worksite? Or they don't want to subscribe to that newsgroup?
Just post a real URL link.
Regards,
Paul McKenzie
Agreed NONE of my development environments have any type of mail program installed,. I would have to go over to a different desk (virtually) to even start.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
December 22nd, 2008, 01:02 AM
#8
Re: Convert Bmp to Jpeg
Hi I am not able to access that link... Can any one send me a exact link of this ?
Riyas.B
Growing Developer
-
December 22nd, 2008, 08:50 AM
#9
Re: Convert Bmp to Jpeg
Originally Posted by riyrse
Hi I am not able to access that link... Can any one send me a exact link of this ?
That is not an http link. That's why we asked the poster to put up a real link that is accessible to anyone.
Regards,
Paul McKenzie
-
December 23rd, 2008, 05:35 AM
#10
Re: Convert Bmp to Jpeg
Code:
CImage *pImage;
//Create pImage and set up pImage with the content of your bitmap.
......
pImage->Attach( hBitmap);
pImage->Save(fileName,Gdiplus::ImageFormatJPEG);
-
January 19th, 2009, 01:30 AM
#11
Re: Convert Bmp to Jpeg
Hi,
I need to convert .bmp to jpeg in Windows mobile. And the CImage is not supported here. So, can anybody help me to do it in C.
Thanks in advance
Hema
-
January 19th, 2009, 04:22 AM
#12
Re: Convert Bmp to Jpeg
Hi,
You could have a look at the library provided by the Independent JPEG Group
http://www.ijg.org/
It is written in C, not C++, so should be what you're looking for. I've used it successfully for a few projects.
Alan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|