[Gimp-developer] Re: Curves files

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

 



On Thu, Apr 04, 2002 at 10:20:40PM +0200, Guillermo S. Romero / Familia Romero wrote:
> regisr@xxxxxxxxx (2002-04-04 at 1942.21 +0200):
> > I have a question about this limitation: why the Gimp spline curves is
> > limited to 17 entries and the procedure gimp-curves-spline use a 32
> > items array of points?
> > May be it is not the same goal but that is the difference?
> 
> Code from the file, it reads 16 pairs:
> 
> for (j = 0; j < 17; j++)
>   {
>     fields = fscanf (f, "%d %d ", &index[i][j], &value[i][j]);
>     if (fields != 2)
>       {
>          g_print ("fields != 2");
>          return FALSE;
>       }
>   }
> 
> Umm, hehehe, it reads 16 pairs, x and y values, not 17 (< 17, not <=
> 17). Sorry, my fault. I am still investigating why 16 and not other
> value (could be 256 as amp files, and avoid the x value). Must be
> something about the curve widget, I guess, but today I am a bit
> "obtuse" with my grep and coding skills.
> 
  More than you think ;-)
  from 0 to 16, that's seventeen values!

-- 
David@xxxxxxxxxxx


[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