Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   display the jpg/bmp file (http://www.go4expert.com/forums/display-jpg-bmp-file-t192/)

arangasoft 3Nov2004 13:59

display the jpg/bmp file
 
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

shabbir 4Nov2004 09:27

Re: display the jpg/bmp file
 
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

arangasoft 4Nov2004 13:42

Re: display the jpg/bmp file
 
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

shabbir 4Nov2004 14:34

Re: display the jpg/bmp file
 
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

arangasoft 17Nov2004 14:27

Re: display the jpg/bmp file
 
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. :)

shabbir 17Nov2004 15:35

Re: display the jpg/bmp file
 
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

arangasoft 27Nov2004 17:56

Re: display the jpg/bmp file
 
hi shabbir,
now i'm not having the code,it's in my PC.next time i'll bring the code.

shabbir 28Nov2004 07:32

Re: display the jpg/bmp file
 
No problem. Its upto you.

vaibhav89 14Apr2008 19:37

Re: display the jpg/bmp file
 
can u please mail me the coding as i unable to open & display .bmp format in 'c'.
vaibhav.best@gmail.com


All times are GMT +5.5. The time now is 22:13.