RSS/Atom feed Twitter
Site is read-only, email is disabled

Making image sizes smaller

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

7 of 7 messages available
Toggle history

Please log in to manage your subscriptions.

Making image sizes smaller gcrimp@vcn.bc.ca 28 Apr 02:27
  Making image sizes smaller Akkana Peck 28 Apr 03:21
   Making image sizes smaller gcrimp@vcn.bc.ca 28 Apr 03:55
  Making image sizes smaller Andreas Waechter 28 Apr 10:24
Making image sizes smaller Michael Schumacher 28 Apr 10:44
  Making image sizes smaller Simon Budig 28 Apr 13:12
Making image sizes smaller Michael Schumacher 28 Apr 14:51
gcrimp@vcn.bc.ca
2005-04-28 02:27:00 UTC (almost 19 years ago)

Making image sizes smaller

Hi,

I want to include full page images of a magazine article in a new document. A single scanned page comes in at about 3.5 MB as a png (saved directly to png from the scan). Any suggestions as to how I might reduce that?

One idea I had was to lift the text off of the page and clean up the background. There is a lot of noise, mostly from information showing faintly through from the other side of the thin glossy paper. I spent a lot of time with the select by colour tool to lift the text off the page. I should add that I rescanned as an *.xcf format image to do this work. When I saved to *.png, it was pretty much the same size as before (even a little bigger).

I should add that I don't understand much about the various image file formats, their features and weaknesses, and am learning how to use the various gimp tools as I go.

Thanks,

GC

Akkana Peck
2005-04-28 03:21:47 UTC (almost 19 years ago)

Making image sizes smaller

gcrimp@vcn.bc.ca writes:

I want to include full page images of a magazine article in a new document. A single scanned page comes in at about 3.5 MB as a png (saved directly to png from the scan). Any suggestions as to how I might reduce that?

Try Image->Mode->Indexed, and play with the number of colors to get it as small as you can manage while still looking good. Then save it, still using png format.

Full-color pngs are large, but indexed png can be quite small.

Cleaning up the noise from the scan, as you've been doing, can help it look good with a much smaller number of colors. Though it's worth trying the conversion to indexed before cleaning up the page; if the colors are similar, the indexed conversion might do a lot of that work for you. (It seldom seems to in my experience, but it always seems like it *should* ...)

...Akkana

gcrimp@vcn.bc.ca
2005-04-28 03:55:59 UTC (almost 19 years ago)

Making image sizes smaller

On Wed, Apr 27, 2005 at 06:21:47PM -0700, Akkana Peck wrote:

gcrimp@vcn.bc.ca writes:

I want to include full page images of a magazine article in a new document. A single scanned page comes in at about 3.5 MB as a png (saved directly to png from the scan). Any suggestions as to how I might reduce that?

Try Image->Mode->Indexed, and play with the number of colors to get it as small as you can manage while still looking good. Then save it, still using png format.

Wonderful! I knew about indexing in relation to GIFs. Didn't know PNG could to indexing. Is there anything more intelligent than trial and error for determining how few colours will do while preserving the quality of the page (there is a graphic on the page I am scanning that I would like to look decent).

Thanks for the idea.

GC

Andreas Waechter
2005-04-28 10:24:26 UTC (almost 19 years ago)

Making image sizes smaller

Hi,

A single scanned page comes in at about 3.5 MB as a png (saved directly to png from the scan). Any suggestions as to how I might reduce that?

As already has been suggested: indexed instead of RGB. Another suggestion: reduce the image size - the smaller it is, the less space it needs (obviously).

I guess you already set the compression rate to 9 in the png save dialog?!

One idea I had was to lift the text off of the page and clean up the background. There is a lot of noise, mostly from information showing faintly through from the other side of the thin glossy paper. I spent a lot of time with the select by colour tool to lift the text off the page.

If it is only black and white text, try out the "Threshold" tool (in Image -> Color Tools). It also works on selections.

I
should add that I rescanned as an *.xcf format image to do this work.

Hm - I don't think this makes a difference, both xcf and png are lossless formats, so the pixels should be identical.

When
I saved to *.png, it was pretty much the same size as before (even a little bigger).

Hm. Strange.
Did you have any settings on the scanner different?

Michael Schumacher
2005-04-28 10:44:12 UTC (almost 19 years ago)

Making image sizes smaller

Wonderful! I knew about indexing in relation to GIFs. Didn't know PNG could to indexing. Is there anything more intelligent than trial and error for determining how few colours will do while preserving the quality of the page (there is a graphic on the page I am scanning that I would like to look decent).

You can do the indexing manually with the Posterize tool. I don't know if it matches any of the indexing options presented by the mode conversion, but it will reduce colors.

BTW, you should never use any dithering option when indexing an image intended to be saved as PNG - the compression gets better than there are large areas of one color.

HTH, Michael

Simon Budig
2005-04-28 13:12:04 UTC (almost 19 years ago)

Making image sizes smaller

Michael Schumacher (schumaml@gmx.de) wrote:

You can do the indexing manually with the Posterize tool. I don't know if it matches any of the indexing options presented by the mode conversion, but it will reduce colors.

No, it doesn't match any of the indexing options, it just reduces the numbers of shades per channel (Ok, postering with 6 levels is the same as indexing to the web palette without dithering, but thats it).

Bye, Simon

Michael Schumacher
2005-04-28 14:51:36 UTC (almost 19 years ago)

Making image sizes smaller

No, it doesn't match any of the indexing options, it just reduces the numbers of shades per channel (Ok, postering with 6 levels is the same as indexing to the web palette without dithering, but thats it).

Documentation can be really confusing sometimes :) http://docs.gimp.org/de/ch04s05s08.html

The english version has it correct, but doesn't give any further explanation.
http://docs.gimp.org/en/ch04s05s08.html

It should mention that this tool constructs a color cube, the 6x6x6 web palette example might be useful for this.

Michael