[Gambas-user] Image.Save method How to specify the DPI?

Bruce Steers bsteers4 at gmail.com
Mon Feb 21 16:10:33 CET 2022


On Mon, 21 Feb 2022 at 15:01, Martin Belmonte <mbelmonte at belmotek.net>
wrote:

> El 21/2/22 a las 14:21, Bruce Steers escribió:
> > I think dpi is a printing term 'dots per inch' and is to to with printing
> > and rendering but has nothing to do with image save data.
> yes, that's right, DPI is dots per inch.
> And it is also correct that it does not affect the image itself.
> To check it I took an image and made three copies and I edited them with
> gimp giving each one 300,150 and 72 dpi (with the same pixels) and they
> all had the same size, so it is correct that it is a metadata.
> Martin.
>

Yeah something in my brain says DPI or dots per inch must only be important
to a type of output, ie. rendering/printing, and that a dpi setting would
be for a whole document/page and not really specific to an individual image
on the page.  So why would you need it?

Respects
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220221/2fdb5063/attachment.htm>


More information about the User mailing list