VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123[4]5678910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 06:39:36 04/01/03 Tue
Author: Michel
Subject: Re: Determining DPI
In reply to: Mike Crapo 's message, "Re: Determining DPI" on 14:30:50 03/31/03 Mon


Hi Mike,

It does not make any difference what format a file is. Once you read a file, say with TPngGraphic, the XDotsPerInch and YDotsPerInch properties will give you the resolution.

Best regards,

Michel

>With that being said, is there any way for
>determaining what the DPI is for a bmp, jpg, and png?
>
>Any help would be greatly appreciated.
>
>Thanks
>Mike
>>
>>Hi Mike,
>>
>>It depends of the image format and how the original
>>image was created. Most BMP files don't have
>>resolution saved, so if I recall correctly Envision
>>will indicate the screen resolution.
>>
>>Best regards,
>>
>>Michel
>>
>>>Hello.
>>>
>>>I need to know how I can determen what the DPI of a
>>>image is that is being loaded from file.
>>>
>>>It it easy to get when scanning in a file, but when I
>>>load a image from file by using the
>>>ImageScrollBox->LoadFromFile(FileName,0); and I look
>>>at the ImageScrollBox->Graphic->XDotsPerInch; or
>>>YDotsPerInch they are always set to 96. How can I
>set
>>>them to the correct DPI?
>>>
>>>Thanks for all your help
>>>Mike

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.