Click here to Skip to main content
15,891,734 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created a .bmp image by using the bitmap class.
Then I have set it's ARGB Values .
I have then saved the bitmap image to disk by using jpeg format
save("s.jpg",imageformat.jpg)
Now it is obvious that the ARGB values of bitmap image are changed

Is there any method to recover the original bitmap pixel data after compressing the image to jpeg format.
PLZ Help Me:-O
Posted
Updated 13-Oct-10 2:47am
v2

1 solution

Well, lossy compression is... "lossy".

:)
 
Share this answer
 
Comments
Be Yourself 13-Oct-10 8:52am    
Cant we read the header of jpg file to recover the original data
Be Yourself 13-Oct-10 8:53am    
Because I think the header contains the compression ratio for image.
CPallini 13-Oct-10 8:59am    
You may load the image and then save it as bitmap. That way you get again ARGB values, anyway lost info, is lost.

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