Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 285
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

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