Re: preview window does not work

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

 



I suggest to read the book "Beginning Gimp" written by Akkana Peck. Data 
structures aren't cleared automatically. You have to clear them yourself. 
Otherwise you have random garbage in your picture. This can happen but it 
mustn't happen always.


On Tuesday 06 March 2007 18:16, Luis A. Florit wrote:
> Pals,
>
>     I made my first plugin in C for gimp, based on the one here:
>
>     http://developer.gimp.org/writing-a-plug-in/3/index.html
>
> Unfortunately, this plugin has several bugs, that translated to my
> own, and I am not being able to detect them (is there any other
> source like the avove to get some base plugin to work on?) Sorry
> for the not very objetive question:
>
>     The preview window updates when I change the parameters, but
> only in the top-left corner, where the preview appears. In the rest,
> it updates with some previous data, or some garbage. When I run the
> plugin for the second time, it is ok. That is, there is some buffer
> that is not being freed... Should I clean the region after a
> gimp_pixel_rgn_init call? Sometimes this also occurs on the main
> window.
>
>     Thanks,
>
>         Luis
> _______________________________________________
> Gimp-developer mailing list
> Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux