VoyForums

VoyUser Login optional ] [ 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: 2.94, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2008 Voyager Info-Systems. All Rights Reserved.