Click here to Skip to main content
13,900,017 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have the knowledge to use bitmap class for constructing a bitmap file, but now I am trying to convert the bitmap file into a jpeg file through coding and again the jpeg file back to the bitmap file without loss of pixel data.

By searching from net I came across a class file named CImage that can be used to create a jpeg image file .But I was not able to find any specific process to create the jpeg file.

Can anyone help me to create a jpeg file by use of any predefined class.

Again I want to add that I need to create the jpeg file just like the bitmap image file is created not that I create a bitmap file and save it as a jpeg format because doing so results in a loss of pixel information.

Does any one know about encoders that I can use here like "Imaging.EncoderParameters".If yes then please elaborate helping me understand.

Thanks in advance.
You can contact me on my E-Mail: <removed>
Updated 7-Oct-11 3:41am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.190306.1 | Last Updated 7 Oct 2011
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100