ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Tell an Image is all black after bad video capture

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
john_siggy@yahoo.com Posted - Nov 27 2016 : 14:22:08
After an unsuccessful video capture the image returned is all black. Is there a way to tell if an image is all black (with valid width and height)? Can't find where the width and height are assigned. Call to ImageEnMView1.AppendImage(640, 480) creates a black image of H:176 x W:144. Any help would be appreciated
2   L A T E S T    R E P L I E S    (Newest First)
john_siggy@yahoo.com Posted - Nov 28 2016 : 13:52:44
Thanks, that worked well...

Regards,

John
xequte Posted - Nov 28 2016 : 04:01:23
Hi

Please see:

http://www.imageen.com/help/TImageEnProc.GetDominantColor.html

Percentage := ImageEnView.Proc.GetDominantColor(cl);
If Percentage = 100 then
   ShowMessage('the image is blank!');


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com