Re: Gradients with transparency?

2017-04-03 Thread Terry Judd via use-livecode
Thanks for all the responses. I really wanted to use a graphic rather than importing an image for all the reasons that Scott mentioned. Mark’s method works of adding an alpha value to the ramp settings of the fillgradient property of the graphic works perfectly so there is a (relatively) simple

Re: Gradients with transparency?

2017-04-03 Thread Alejandro Tejada via use-livecode
Hi Terry, Terry Judd wrote: > I want to overlay a graphic with a vertical gradient > that blends from transparent to white to give the effect > that the underlying content is fading out as you move > down the screen. I’m able to achieve this effect using a > black and white linear gradient in

Re: Gradients with transparency?

2017-04-03 Thread Scott Rossi via use-livecode
The thing about using a graphic gradient (as opposed to an image) is the graphic is infinitely more flexible: - variable size (no loss of quality when resizing) - variable colors - variable transparency As far as exporting goes, last I checked, I don’t think ink effects export intact, even when

Re: Gradients with transparency?

2017-04-03 Thread J. Landman Gay via use-livecode
Would exporting a snapshot work well enough for your needs? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 3, 2017 4:39:07 AM Terry Judd via use-livecode wrote: Is

Re: Gradients with transparency?

2017-04-03 Thread Richmond Mathewson via use-livecode
Personally I'd fake it: I'd set up a gradient with one end being transparent in my graphics weapon of choice (GIMP) and save it as a PNG image, import it and overlay it on top of your content, then make sure you group it with your content before you do an export from group "JazzyGradient" to

Re: Gradients with transparency?

2017-04-03 Thread Terry Judd via use-livecode
Thanks Mark, I'll try that out. Regards, Terry... Sent from my iPad > On 3 Apr 2017, at 8:30 pm, Mark Waddingham via use-livecode > wrote: > >> On 2017-04-03 11:37, Terry Judd via use-livecode wrote: >> Is it possible to have a gradient with one of its

Re: Gradients with transparency?

2017-04-03 Thread Mark Waddingham via use-livecode
On 2017-04-03 11:37, Terry Judd via use-livecode wrote: Is it possible to have a gradient with one of its end-points being transparent instead of a solid colour? Yes the color values you specify for gradients can have an alpha component. For example: 0.5,255,0,0 -> at half way through the

Gradients with transparency?

2017-04-03 Thread Terry Judd via use-livecode
Is it possible to have a gradient with one of its end-points being transparent instead of a solid colour? I want to overlay a graphic with a vertical gradient that blends from transparent to white to give the effect that the underlying content is fading out as you move down the screen. I’m