topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 13, 2024, 9:28 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Quality of Captured Image  (Read 14718 times)

LiDale

  • Supporting Member
  • Joined in 2009
  • **
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Quality of Captured Image
« on: February 24, 2014, 01:43 PM »
I use SC each and every day. Thanks so much for the support with this fantastic product. I am probably ok, but just one question. I use SC to save text and images sent to me from my family. Most of the time it is captured from an email and from time to time it is captured from a web site. I understand the quality of the captured image relies on the quality of the image I am attempting to capture. I take each captured image and post it, along with family comments, in a blog type site. Sometimes for printing and sometimes just for reading for all other family members. I basically use SC with most all default settings and it does a great job. I just want to insure I have the 'settings' correct to give me the best possible color and resolution of the captured images and/or text.

Sorry for rambling, my question is "what settings / options should I have SC set to insure the output image (jpg, pdf and png) is the highest color and resolution possible."

Thanks in advance for your time.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Quality of Captured Image
« Reply #1 on: February 24, 2014, 02:06 PM »
Hi LiDale,
I think png is the default filetype - this is the best quality for screenshots anyway. Avoid jpg completely here (files are smaller but quality is worse).

You mention PDF - are you using PDF anyway? - or are you asking if it's better quality than the others? If the latter, again, I'd say just stick with the png filetype.

Here's my settings -

Screenshot - 2014-02-24 , 21_00_37_ver001.png

The dpi and colour are default - no need to change them (dpi may vary according to your monitor).
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Quality of Captured Image
« Reply #2 on: February 24, 2014, 03:48 PM »
What tomos said.  As long as you save in PNG format (which SC uses by default) your images will be 100% perfect, exactly what you see on screen.
It's only when you save in a "lossy" format like jpg that files can degrade in quality from the original.

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: Quality of Captured Image
« Reply #3 on: February 26, 2014, 03:16 AM »
If the size of the image file matters, it can be a good idea to use one of the many png optimizers available. Here is an example to illustrate this:

Saved as 24 bpp png from SSC, 240k:

colortest24.png

Optimized version, 149k:

colortest24riot.png

Saved as 8 bpp png from SSC, 72k:

colortest8.png

Optimized version (note that it also has better colors), 32k:

colortest8riot.png

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Quality of Captured Image
« Reply #4 on: February 26, 2014, 10:30 AM »
^ I'm pretty confused there Jibz :-[

  • 1) I dont see any option to change bpp in Screenshot Captor(?)
  • 2) I presume the default in SC is 24bpp?
  • 3) all screenshots say 24bpp in the statusbar, yet you label #3 as 8bpp
  • 4) what are the k numbers - I know k is a thousand ;-) but is it number of pixels? (240k etc)
  • 5) is the idea that the optimisier reduces the image size, but keeps the quality?
    Or is it simply to improve quality of lower quality images (#3 =>#4 above)?
    I dont see any difference between images #1 & #2...

Tom

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: Quality of Captured Image
« Reply #5 on: February 26, 2014, 10:58 AM »
^ I'm pretty confused there Jibz :-[

  • 1) I dont see any option to change bpp in Screenshot Captor(?)
  • 2) I presume the default in SC is 24bpp?
  • 3) all screenshots say 24bpp in the statusbar, yet you label #3 as 8bpp
  • 4) what are the k numbers - I know k is a thousand ;-) but is it number of pixels? (240k etc)
  • 5) is the idea that the optimisier reduces the image size, but keeps the quality?
    Or is it simply to improve quality of lower quality images (#3 =>#4 above)?
    I dont see any difference between images #1 & #2...

  • 1) It took me a while to find this option as well. To me, the logical thing would be if there were some options while saving, or if the "Image File Format" tab in the preferences changed, oh I don't know, perhaps the image file format? But it doesn't, instead you have to go into the menu SpecialFX2 and select "Adjust color depth and DPI" to reduce the number of colors.
  • 2) As per 1) above, quite ;D.
  • 3) I can see how this might be confusing :-[, I opened a 24 bpp image in an image viewer, and took a screenshot of the entire image viewer window. The four images are the same screenshot saved in different ways.
  • 4) They are image file size in kilobytes.
  • 5) In the case of saving as 24 bpp (example 1 and 2 above), the image quality is the same, so you save space. In the case of reducing the color depth to 8 bpp (example 3 and 4 above), the image quality is better and the file is smaller when the color depth is reduced in an outside program.

I chose this image deliberately because it is "hard" to convert to 8 bpp and get a decent result due to the gradients. Screenshots of application windows, which usually consist of white background with text and a few buttons generally loose little quality from being converted to 8 bpp, and if you are sending several screenshots over e-mail it can make a difference if they are 1 mb each, or 200 k :).
« Last Edit: February 26, 2014, 11:07 AM by Jibz »

Vurbal

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 653
  • Mostly harmless
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Quality of Captured Image
« Reply #6 on: February 26, 2014, 11:23 AM »
If you want to reduce the file size JPEG compression is generally a better option, quality-wise, than reducing the color depth.
I learned to say the pledge of allegiance
Before they beat me bloody down at the station
They haven't got a word out of me since
I got a billion years probation
- The MC5

Follow the path of the unsafe, independent thinker. Expose your ideas to the danger of controversy. Speak your mind and fear less the label of ''crackpot'' than the stigma of conformity.
- Thomas J. Watson, Sr

It's not rocket surgery.
- Me


I recommend reading through my Bio before responding to any of my posts. It could save both of us a lot of time and frustration.

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: Quality of Captured Image
« Reply #7 on: February 26, 2014, 01:07 PM »
If you want to reduce the file size JPEG compression is generally a better option, quality-wise, than reducing the color depth.

That depends a lot on the contents.

JPEG is very good at compressing the type of data you see in photographs, but quite poor at reproducing text due to compression artifactsw on high-contrast details.

Here is the same screenshot, compressed to a JPEG file of the same size as the 8 bpp png above (32k):

colortest24.jpg

As you can see, it handles the gradients better, but the text, icons, and the bright lines, show JPEG artifacts.

And this was a type of image that PNG has trouble with. If you take a screenshot of something like the configuration dialog from Screenshot Captor, you can really see how much better PNG handles these kinds of images:

Spoiler
24 bpp PNG @39k:

ssconfig24.png

JPEG @40k:

ssconfig_samesize24.jpg

8 bpp PNG @20k:

ssconfig8riot.png

JPEG @20k:

ssconfig_samesize8.jpg

« Last Edit: February 27, 2014, 09:45 AM by Jibz »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Quality of Captured Image
« Reply #8 on: February 26, 2014, 01:28 PM »
Learning here :Thmbsup:

I'm curious -- what software did you use Jibz, in the examples above?

Example #2 is ~40% smaller than example #1 - I dont see any loss of quality :up:
That could be very helpful occasionally. Cant imagine myself going to the trouble of reducing the bit depth, but who knows, could be helpful too someday.
Tom

Vurbal

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 653
  • Mostly harmless
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Quality of Captured Image
« Reply #9 on: February 26, 2014, 01:50 PM »
If you want to reduce the file size JPEG compression is generally a better option, quality-wise, than reducing the color depth.

That depends a lot on the contents.

That's very true. PNG, being just a compressed bitmap, is much better at spatial precision and of course being lossless makes it completely (compression) artifact free.

Of course, depending on the software you compress with, JPEG can also be tuned to avoid or obscure compression artifacts. OTOH having lots of sharp edges (like text) always means either ugly artifacts or poor compression.
I learned to say the pledge of allegiance
Before they beat me bloody down at the station
They haven't got a word out of me since
I got a billion years probation
- The MC5

Follow the path of the unsafe, independent thinker. Expose your ideas to the danger of controversy. Speak your mind and fear less the label of ''crackpot'' than the stigma of conformity.
- Thomas J. Watson, Sr

It's not rocket surgery.
- Me


I recommend reading through my Bio before responding to any of my posts. It could save both of us a lot of time and frustration.

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: Quality of Captured Image
« Reply #10 on: February 26, 2014, 02:31 PM »
I'm curious -- what software did you use Jibz, in the examples above?

For the examples above, I was using RIOT, which has a simple interface (and is used as a plugin by IrfanView).

It looks like it is a bit hehind other tools though, here is the 47k PNG produced by pngquant:

colortest24-fs8.png

There's only slight banding in the big gradient, and there is visible dithering, but otherwise it's impressively close to the original.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Quality of Captured Image
« Reply #11 on: February 26, 2014, 03:00 PM »
It looks like it is a bit hehind other tools though, here is the 47k PNG produced by pngquant:

all I need is a GUI ;-)
but I do have IrfanView installed (thanks for the info).
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Quality of Captured Image
« Reply #12 on: February 27, 2014, 08:48 AM »
Maybe someone can make a SC tool file for one of these png compressors so it's easier to access from SC tool menu?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Quality of Captured Image
« Reply #13 on: February 27, 2014, 08:50 AM »
My coarse rule of thumb for file formats:

Photographs: JPG (usually i use quality options of 90-95% in whatever program i'm using)
Anything else: PNG

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: Quality of Captured Image
« Reply #14 on: February 27, 2014, 09:25 AM »
i would like to add PngGauntlet to the list of PNG compressors. recommended by [user]justice[/user] here.


Spoiler


Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: Quality of Captured Image
« Reply #15 on: March 06, 2014, 03:38 AM »
Since we've discussed tools to optimize image size and quality here, I thought I'd mention Mozilla's recently introduced JPEG optimizer project mozjpeg.

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: Quality of Captured Image
« Reply #16 on: July 16, 2014, 05:00 AM »
mozjpeg 2.0 has been released

Thanks to CMake it built without problems on Windows here :Thmbsup:.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Quality of Captured Image
« Reply #17 on: October 13, 2017, 11:29 AM »
For the examples above, I was using RIOT, which has a simple interface (and is used as a plugin by IrfanView).

this was updated in 2016 - there may be better out there in terms of compression, but it has a good interface:

Screenshot - 2017-10-13 , 18_24_34.pngQuality of Captured Image

it's slow with hi-res files, but does offer to reduce resolution as you open the file.
I'm happy, e.g. the file in image there got reduced from 280 to 85KiB :up:
[note I didn't reduce the resolution of the file]

(Note that higher compression makes very little difference but takes much longer.)
Tom
« Last Edit: October 15, 2017, 03:48 AM by tomos, Reason: [note...] »