954,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Reading/Displaying JPEG Images in C

Hi, I am trying to make a Picture viewer for my BS Computer Science 1st Year Project in Turbo C Compiler. I have to stick with this compiler atm.

I want to be able to display BMP,PNGs and JPEGs [TIFF and others too if it won't be very difficult].

I was able to display BMP images easily as I got all the information I wanted to display the image from http://www.fileformat.info/format/bmp/corion.htm .

I want similar type of information on JPEGS and PNGs too. I have searched the Net for hours on finding a similar structural definition of JPEGs but I wasn't able to find anything on it. Any Website Link or information about JPEGs, like Even Is it possible to display JPEGs using Turbo C or not.[I don't care about the true color or 16 colors, just want to show it somehow.]

I have uploaded a sample of my project in this post.

Attachments PROJECT.CPP (1.34KB)
saad749
Light Poster
45 posts since Sep 2010
Reputation Points: 10
Solved Threads: 5
 

Don't hold your breath waiting to find the answer for Turbo C. Here is just one of may threads you can find about that topic. Doesn't look good for you.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 
Don't hold your breath waiting to find the answer for Turbo C. Here is just one of may threads you can find about that topic. Doesn't look good for you.


I see. Can You give me a good guide for programming C in windows. There are many available on the net, But I want something that is easy and not much complicated and I can becaome familiar to it in 24 hours[I really don't have much time now :P].

I have been programming C in Turbo C for almost a year now. I know the syntaxes etc but I am not a pro yet.

saad749
Light Poster
45 posts since Sep 2010
Reputation Points: 10
Solved Threads: 5
 

Of course you can learn the basics in a few hours, but it will take years to get really good at it. This is my favorite beginner's tutorial.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: