-3

When I open and save a png image in Gimp, the size in the file system changes. I use the default settings.

When I change the resolution of a png image and save it, the size in the file system equals the size mentioned in my first question (where I did not change the resolution, but only saved). Maybe I understand this, because the number of pixels does not change. But in Gimp the width and height are changed, and in my browser, chrome, not.

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
ericj
  • 2,138
  • 27
  • 44
  • Questions about the GIMP are off-topic here. It is not a software tool used by programmers any more than Microsoft Word. Please ask general computer usage questions on another site. – Cody Gray - on strike Aug 10 '13 at 16:27

1 Answers1

1

What counts for an image size is ultiamtely the number os pixels. The resolution parameter changeable in GIMP is justa hint of how much pixels would go into an inch (or centimeter) when printing - thus you can print a 640x480 image in 4x3 cm, as you can print the same images in 40x30 cm (it will look badly blurred/posterized).

Browsers do not respect the resolution set in PNG files to choose the view size - you can change that with CSS width and height parameters - by default it will use a resolution carefully specified in the CSS definition so that the image is not too small in large resolution displays/printing. - The default CSS resolution is 96 pixels per inch as can be seen here: http://www.w3.org/TR/2013/CR-css3-values-20130730/

[you really should put one question per question - and please punctuate - I had not seen your "first question" ]

When I open and save a png image in Gimp, the size in the file system changes. I use the default settings.

So - what happens there is that PNG although lossless for pixel values do have variable parameters - like the compression level, and embedded color profile specification which can change between saves.

jsbueno
  • 99,910
  • 10
  • 151
  • 209