display the jpg/bmp file

Light Poster
3Nov2004,13:59   #1
arangasoft's Avatar
hai everybody,

I want to display an *.jpg/*.bmp(24-bit image) file while runnig the program in turboc.
But i don't know how to do it?.So anybody know the asnwer for my question, please tell me.If you can send the source code,then i always welcomes you.

My mail ID "arangasoft@gmail.com".

bye
arangs
Go4Expert Founder
4Nov2004,09:27   #2
shabbir's Avatar
Hello

First of all welcome to go4expert. I know you registered some time back but this is your first post and so I as an administrator welcome you to the forums.

Now about your query you need to open a jpg/bmp file in turbo C

This can be done if you know what format the jpg and bmp file is and if you open them in binary mode in C and read the headers and other part of the file you can easily display them.

To know the file formats of both jpg and bmp you can look at the following links
http://www.fortunecity.com/skyscrape.../bmpffrmt.html « BMP
http://www.w3.org/Graphics/JPEG/jfif3.pdf « JPEG

I hope this will clear out the your concept and will help you to code the program yourself.

Thanks
Shabbir Bhimani
Light Poster
4Nov2004,13:42   #3
arangasoft's Avatar
hai shabbir,

I know the format of jpeg and bmp also.But i don't know how implement them.And also your bmp link is not open in my college.There was a message "access denied for banned site".So can you send me the complete program for my request.

bye
arangs

Last edited by arangasoft; 4Nov2004 at 13:45..
Go4Expert Founder
4Nov2004,14:34   #4
shabbir's Avatar
If you cant open that site it may be because fortunecity is free hosting provider and so has been banned in your college. To read the content of that site you can use this link
http://64.233.167.104/search?sourcei...Fbmpffrmt.html

Also I havent programmed the stuff myself and so I dont have it. I found one but dont remember the url nut could not successfully get the desired output.

Thanks
Shabbir Bhimani
Light Poster
17Nov2004,14:27   #5
arangasoft's Avatar
hai shabbir,

Thanks for your advice.I got the solution of my thread with the guide of your bmp format link.Your reference link was very uesful to me.

Thank you verymuch.
Thank you verymuch.
Thank you verymuch.
Go4Expert Founder
17Nov2004,15:35   #6
shabbir's Avatar
Quote:
Thanks for your advice.I got the solution of my thread with the guide of your bmp format link.Your reference link was very uesful to me.
My Pleasure.

If you can share the code in the following sections Code and Projects other can also benefit. If not sharing the code can give a briefing as what you did and where to find other stuffs that would not be bad either.

Thanks
Shabbir Bhimani
Light Poster
27Nov2004,17:56   #7
arangasoft's Avatar
hi shabbir,
now i'm not having the code,it's in my PC.next time i'll bring the code.
Go4Expert Founder
28Nov2004,07:32   #8
shabbir's Avatar
No problem. Its upto you.
Light Poster
14Apr2008,19:37   #9
vaibhav89's Avatar
can u please mail me the coding as i unable to open & display .bmp format in 'c'.
vaibhav.best@gmail.com