Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
Forum membership is Free! Click
Join
to sign-up
Username:
Password:
Save Password
Forgot your Password?
All Forums
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
Dominant color of selection
New Topic
Reply to Topic
Author
Topic
spetric
Croatia
308 Posts
Posted - Mar 16 2015 : 14:23:57
Hi,
Is it possible to get dominant color of selection?
TIA,
SIniša
wesleybobato
Brazil
367 Posts
Posted - Mar 16 2015 : 14:37:09
ImageEnView1.Proc.CalcAverageRGB( 100 );
wesleybobato
Brazil
367 Posts
Posted - Mar 16 2015 : 14:40:16
ImageEnView1.Proc.GetDominantColor;
spetric
Croatia
308 Posts
Posted - Mar 16 2015 : 18:04:33
GetDominantColor method returns always dominant color of complete image.
klausdoege
Germany
389 Posts
Posted - Mar 17 2015 : 11:06:33
try this:
ImageEnView1.LayersCreateFromSelection;
ImageEnView1.Proc.GetDominantColor;
ImageEnView1.LayersRemove(ImageEnView1.LayersCurrent);
Klaus
www.klausdoege.de
spetric
Croatia
308 Posts
Posted - Mar 17 2015 : 14:40:02
Thanks Klaus,
this trick has done the job.
Siniša
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page