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

BITMAP Info

Is there anyway I can get the size of a bitmap?I have loaded a bitmap using LoadIMage API.Now I would like to
know how many rows and columns it has,for further processsing of the image.For example if the size is 32X32,it
should return intereger row as 32 and int col as 32.
Thank you
0
samroyc
Asked:
samroyc
  • 2
  • 2
1 Solution
 
RanjeetRainCommented:
0
 
CarlWarnerCommented:
Return image type and size from JPEG, GIF, BMP, & PNG files.
http://www.freevbcode.com/ShowCode.asp?ID=112
0
 
samroycAuthor Commented:
I am still struggling to get dimensions of a bitmap.I am using MFC,in a dialog box application.I have loaded the bitmap
from a file.The GetBitDimension seems to be to get the size in mms.I just need to return the size,for example if
the bitmap is 64X32,I need to be able to return 64 and 32 as integers.  
0
 
samroycAuthor Commented:
After trying some more,I was able to do it with the help of the answer I accepted
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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