Re: JPEG Quality of saved snapshots



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.

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
>   



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