How to work with SparseColor in .NET?
Posted: 2009-12-21T22:13:21-07:00
Hi
can anybody help me how to access SparseColor with .NET wrapper?
i am unable to work with SparseColor.
i am able to work in command prompt.
( convert -size 100x100 xc: -sparse-color Bilinear "30,10 red 10,80 blue 70,60 lime 80,20 yellow" "c:\sample\img1_1.jpg")[ It is working fine.]
or
( convert -size 100x100 xc: -sparse-color Bilinear "30,10 ,250,0,0 10,80 ,0,0,250 ,70,60 ,0,250,0 ,80,20 ,110,50,60" "c:\sample\img1_2.jpg")
[Note: if i give color in RGB format like above it is giving result different but it is not giving any exception]
But i am unable to work with SparseColor in .Net.
How i can pass params to SparseColor in .NET?
Thanks
can anybody help me how to access SparseColor with .NET wrapper?
i am unable to work with SparseColor.
i am able to work in command prompt.
( convert -size 100x100 xc: -sparse-color Bilinear "30,10 red 10,80 blue 70,60 lime 80,20 yellow" "c:\sample\img1_1.jpg")[ It is working fine.]
or
( convert -size 100x100 xc: -sparse-color Bilinear "30,10 ,250,0,0 10,80 ,0,0,250 ,70,60 ,0,250,0 ,80,20 ,110,50,60" "c:\sample\img1_2.jpg")
[Note: if i give color in RGB format like above it is giving result different but it is not giving any exception]
But i am unable to work with SparseColor in .Net.
How i can pass params to SparseColor in .NET?
Thanks