Max number of colors on a gradient

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Max number of colors on a gradient

Alejandro Tejada
Hi All,

I was testing the practical limitations
of svg and LiveCode graphics and
noticed that a svg with 1024 gradients
displayed fine in the browser, but shows
a lot of banding, moire and noise
within LiveCode.

Very similar to this image:
http://www.123rf.com/clipart-vector/moire.html?mediapopup=38363779

According to SKIA, How many colors
could we add safely to a gradient?
What are the practical limits
of this feature?

Al

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Max number of colors on a gradient

Colin Holgate-3
I don’t know what colorspace LiveCode uses, but for gradients there are only 256 levels in 24 bit color. If you’re seeing 1024 gradients elsewhere, that’s 30 bit color, which is not common.

There is dithering to try to make less levels look like more levels.
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode