[ 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: 12345[6]78910 ]

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

Date Posted: 17:30:07 03/20/02 Wed
Author: Michel
Subject: Re: reduce image resolution of a bitmap or jpg again
In reply to: Jason 's message, "reduce image resolution of a bitmap or jpg again" on 01:32:00 03/20/02 Wed

Hi Jason,

There are two aspects to resolution: the dimensions and the values of the dots per inch properties.

For example, a 100x100 graphic at 100dpi will print 1 inch by 1 inch. If the resolution is changed to 50dpi, it will print 2 inches by 2 inches, but it will still be 100x100 pixels. On screen they will be identical, even if the DPI fields are different.

When changing the resolution you need to change both the DPI fields and resize the graphic. If you don't resize the graphic, it will be identical on screen, because the screen only displays pixels.

Best regards,


>Hi Michel
>I've asked you that one before and you did reply
>saying: "With Envision you use the TResizeTransform to
>change the dimensions, and the resolution is specified
>in the XDotsPerInch and YDotsPerInch properties. See
>more details in the online help".
>I tried a few things to reduce the image resolution by
>using the XDotsPerInch and YDotsPerInch properties but
>i still haven't managed to reduce the resolution. I
>looked at the online help too. I realise that I can
>read the resolution of the image in question and I
>have managed to write to these properties (I changed
>them to be 18 from their initial value of 96). The
>properties values have changed but the image hasn't
>even after .update, .redraw(true) or .invalidate.
>Can you please see if Envision actually allows me to
>change the resolution of an image and tell me how to
>do it ? I would really appreciate it.
>Thanks a lot.
>Here's the two lines I wrote in an attempt to change
>the resolution:
> isb1.Graphic.XDotsPerInch:= 18;
> isb1.Graphic.YDotsPerInch:= 18;

[ 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.