Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 21st, 2005, 4:40 PM   #1
amin1982
Newbie
 
Join Date: Oct 2004
Posts: 15
Rep Power: 0 amin1982 is on a distinguished road
Smile question (BMP header)

hi ppl
i want to ask about how to write to a bmp file by c++
that is bmp files begin with header so if i want to write bmp file by c++ i must write the header before writing data
so any one can help me plz?????

...........................................
another question plz

any one can help me about inverse cosine transform code for jpeg compresion



thnx
amin1982 is offline   Reply With Quote
Old Apr 21st, 2005, 8:39 PM   #2
Daniel_kd
Newbie
 
Daniel_kd's Avatar
 
Join Date: Apr 2005
Posts: 22
Rep Power: 0 Daniel_kd is on a distinguished road
google bmp fileformat it will give you enought info. If you want add C++ you might find the exact structures for the header.(I was searching for this yesterday this but I don't remember where I found the info.Defently you will find info here but they are not very helpful if you are new at programming;better google )

Last edited by Daniel_kd; Apr 21st, 2005 at 8:41 PM.
Daniel_kd is offline   Reply With Quote
Old Apr 21st, 2005, 9:25 PM   #3
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
There are many image libraries you can download using the update feature of Dev-C++, as well.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:32 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC