 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Md. Shariful Alam Khan Guest
|
Posted: Thu Sep 14, 2006 1:29 am Post subject: How to get Image Resolution |
|
|
Hello,
How can I get any image (bmp, jpeg, jpg, ico, png, gif etc) resolution like
Horizontal X Vertical sample (96X96).
--
Thanks
Best Regards
Md. Shariful Alam Khan |
|
| Back to top |
|
 |
Peter Bone Guest
|
Posted: Thu Sep 14, 2006 2:49 pm Post subject: Re: How to get Image Resolution |
|
|
Md. Shariful Alam Khan wrote:
| Quote: | Hello,
How can I get any image (bmp, jpeg, jpg, ico, png, gif etc) resolution like
Horizontal X Vertical sample (96X96).
--
Thanks
Best Regards
Md. Shariful Alam Khan
|
All those should have Width and Height properties. ABmp.Width, etc. |
|
| Back to top |
|
 |
Michel Leunen Guest
|
Posted: Thu Sep 14, 2006 11:30 pm Post subject: Re: How to get Image Resolution |
|
|
Md. Shariful Alam Khan wrote:
| Quote: | How can I get any image (bmp, jpeg, jpg, ico, png, gif etc) resolution like
Horizontal X Vertical sample (96X96).
|
Use Gdi+ as it supports many image formats. Load your image in a Image
object and use the GetPhysicalDimension() method on this object.
Michel
--
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
http://www.leunen.com/
---------------------------------------- |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|