Re: [Gimp-user] Curve and Alpha problem

2004-09-24 Thread Sven Neumann
Hi,

Ivan Zenkov <[EMAIL PROTECTED]> writes:

> >(define (spline)
> >  (let* ((a (cons-array 8 'byte)))
> > (aset a 0 0 0)
> > (aset a 1 85 20)
> > (aset a 2 170 40)
> > (aset a 3 255 60)
> > a))
> >
> >(gimp-curves-spline text-layer 4 4 (spline))

Just for the record: This has been filed as bug #153635 and it has
now been fixed in both the stable and the development branch.


Sven
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Curve and Alpha problem

2004-09-23 Thread Ivan Zenkov
Hi, all.

And nevertheless... Why my code doesn't work with alpha?

>(define (spline)
>  (let* ((a (cons-array 8 'byte)))
>   (aset a 0 0 0)
>   (aset a 1 85 20)
>   (aset a 2 170 40)
>   (aset a 3 255 60)
>   a))
>
>(gimp-curves-spline text-layer 4 4 (spline))

I want simple create a transparent text with script-fu, like in
tutorial "Transparent Objects" written by Ron Scott
(http://gug.sunsite.dk/tutorials/ronq2/).  For this purpose I need to
create array on a curve http://img52.exs.cx/img52/5495/curve-alpha.png
that to make the selection area, transparent
http://img79.exs.cx/img79/6625/curve-alpha2.png

But my code for some reason does not work with alpha. Maybe this is a
bug, or most likely I simply have not correctly created array.
Uncompleted code of my script can be found here
http://registry.gimp.org/plugin?id=4729

Please help.

-- 
Ivan Zenkov

Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0560DF3A
Key fingerprint = 6336 20AA C755 3C14 BBDD  D017 05CD 5CD2 0560 DF3A
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user