Re: JPEG Quality of saved snapshots



On Di, 2009-04-14 at 10:04 +0300, Stefan Kost wrote:
> Johannes Bittner schrieb:
> > Hi,
> >
> > the quality of the saved snapshots is rather bad. I wrote this simple
> > patch to set the JPEG quality to 100. Would you mind integrating it
> > into Cheese, at least until it's possible to configure it?
> >   
> I think 85 would definitely be enough. Otherwise its a good idea.

is 85 the default? couldnt find that in the docs while having a quick
look.

> 
> Stefan
> 
> > bye,
> > Johannes
> >
> > Index: src/cheese-webcam.c
> > ===================================================================
> > --- src/cheese-webcam.c	(revision 1231)
> > +++ src/cheese-webcam.c	(working copy)
> > @@ -213,7 +213,8 @@
> >                                       FALSE, bits_per_pixel, width,
> > height, stride,
> >                                       NULL, NULL);
> >
> > -  gdk_pixbuf_save (pixbuf, priv->photo_filename, "jpeg", NULL, NULL);
> > +  gdk_pixbuf_save (pixbuf, priv->photo_filename, "jpeg", NULL,
> > +                   "quality", "100", NULL);
> >    g_object_unref (G_OBJECT (pixbuf));
> >
> >    g_signal_handler_disconnect (G_OBJECT (priv->photo_sink),
> > _______________________________________________
> > Cheese-list mailing list
> > Cheese-list gnome org
> > http://mail.gnome.org/mailman/listinfo/cheese-list
> >   
> 
> _______________________________________________
> Cheese-list mailing list
> Cheese-list gnome org
> http://mail.gnome.org/mailman/listinfo/cheese-list
-- 
this mail was sent using 100% recycled electrons
================================================
daniel g. siegel <dgsiegel gmail com>
http://home.cs.tum.edu/~siegel
gnupg key id: 0x6EEC9E62
fingerprint: DE5B 1F64 9034 1FB6 E120 DE10 268D AFD5 6EEC 9E62
encrypted email preferred

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]