Re: cropping/resizing: quality?

Aurélien Gâteau <[email protected]> Fri, 27 Nov 2009 23:06:40 +0100
Newsgroups gmane.comp.kde.gwenview
Message-ID <[email protected]>
Barna Daniel a =E9crit :
> Hi,
> =

> I have cropped a very tiny bit from the left and upper sides of a picture=
, =

> and the new filesize of the picture was less then 1/5 of the previous =

> size. The original picture was taken by a Nikon D90, with smallest jpg =

> compression. I guess gwenview overrides the compression level, or =

> something similar, leading finally to quality loss.

There is no way to avoid information loss when saving to jpeg. But it's
true that Gwenview uses the default image quality of the Qt JPEG writer,
which is 75.

> Is there any way to control the quality of these transformations? It woul=
d =

> make sense to keep the same quality as the original picture, by default.

I don't think keeping the original picture quality will prevent
information loss. Saving an image several times with the same quality
will eventually lead to JPEG artefacts. Still, it makes sense to be able
to choose the default JPEG quality. I am going to add this to my TODO list.

Aur=E9lien

---------------------------------------------------------------------------=
---
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day =

trial. Simplify your report design, integration and deployment - and focus =
on =

what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july