Composing buffers with zero dimensions

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

 



Ooops, 

my first mail has not arrived to the list....

	Richard

----------  Forwarded Message  ----------

Subject: Composing buffers with zero dimensions
Date: Wednesday 09 August 2006 17:43
From: Richard Kralovic <Richard.Kralovic@xxxxxxxxxxxxxxxxx>
To: gegl-developer@xxxxxxxxxxxxxxxxxxxxxx

Hello,

I have tried a couple of tests with the latest version of gegl. I encountered
problems with composing operations when the ROI was zero.

Try e.g. gegl/docs/gallery/drop-shadow.xml and modify the

         <node class='crop' x='80' y='60' width='360' height='320'/>
to
         <node class='crop' x='80' y='60' width='36' height='32'/>

After this change the whole gegl logo is outside the result and this causes
problems to the <node class='over'> - gegl segfaults :-(.

After adding a test on zero dimensions to gegl-operation-point-composer.c
(patch attached) the problem disappeared.

I suppose that similar check should be also in gegl-operation-point-filter.c.
Or should be the problem corrected elsewhere?


	Richard Kralovic

-------------------------------------------------------
_______________________________________________

Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux