gegl r2732 - in trunk: . operations/core
- From: bersace svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2732 - in trunk: . operations/core
- Date: Tue, 11 Nov 2008 13:23:11 +0000 (UTC)
Author: bersace
Date: Tue Nov 11 13:23:11 2008
New Revision: 2732
URL: http://svn.gnome.org/viewvc/gegl?rev=2732&view=rev
Log:
Fix black image bug by explicitly copying input to output in
gegl:convert-format.
Modified:
trunk/ChangeLog
trunk/operations/core/convert-format.c
Modified: trunk/operations/core/convert-format.c
==============================================================================
--- trunk/operations/core/convert-format.c (original)
+++ trunk/operations/core/convert-format.c Tue Nov 11 13:23:11 2008
@@ -56,6 +56,8 @@
glong samples,
const GeglRectangle *roi)
{
+ int bpp = gegl_operation_get_format(op, "output")->format.bytes_per_pixel;
+ memcpy(out_buf, in_buf, samples * bpp);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]