• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • Last Modified:

Changing Resolution

Is there any way of changing BMP graphics file resolution using turboc.I mean say from 320x200 to 640x480 and so on.
0
SHAHZAD
Asked:
SHAHZAD
1 Solution
 
braveheartCommented:
This is not really a C question. Ask in one of the PC or graphics areas.
0
 
SHAHZADAuthor Commented:
Thanks for telling me the right place to look for.
0
 
Morten from ElitenCommented:
If you want to change the size of a bitmap, you will have to open the bitmap file, and manipulate the contents of it.
The Bitmap file begins with a header, which tells how heigh and wide the bitmap is, what color depth it is, etc. Following the header, there is the actual data of the bitmap file.
To increase the size of the bitmap, you will first have to change the header to set the correct size, and then strech the content of the bitmap file.

Rounding it up, this means that you'll have to do the streching for yourself. Some of the guys in the graphics areas can properly help you decoding the bitmap file.



0
 
SHAHZADAuthor Commented:
Your answer seems to be correct to me.I'll try it.Thanks

0
 
kashif063098Commented:
YOUR FULL IS SHAHZAD SHEIKH ????

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now