Click here to Skip to main content
15,615,280 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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>@gmail.com
Posted
Updated 7-Oct-11 3:41am
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900