Click here to Skip to main content
15,881,812 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: Resize Image Pin
El Corazon25-May-10 14:49
El Corazon25-May-10 14:49 
QuestionColor Separations for Printers Pin
Roger Wright5-May-10 5:24
professionalRoger Wright5-May-10 5:24 
AnswerRe: Color Separations for Printers Pin
Luc Pattyn5-May-10 6:36
sitebuilderLuc Pattyn5-May-10 6:36 
GeneralRe: Color Separations for Printers Pin
Roger Wright5-May-10 7:50
professionalRoger Wright5-May-10 7:50 
GeneralRe: Color Separations for Printers Pin
Luc Pattyn5-May-10 7:56
sitebuilderLuc Pattyn5-May-10 7:56 
GeneralRe: Color Separations for Printers Pin
Roger Wright5-May-10 8:44
professionalRoger Wright5-May-10 8:44 
AnswerRe: Color Separations for Printers Pin
enhzflep27-Dec-10 3:04
enhzflep27-Dec-10 3:04 
QuestionCaptureFrame inside Thread Pin
anki12315-Apr-10 3:19
anki12315-Apr-10 3:19 
Hi
I m using Directx.Capture library in C#. In capture.cs one function named as GrapImg() which is used to capture image from video. When I call the method GrapImg() from button click event it works fine. Now I need to call it within thread from the main form. But it gives an error

Unable to cast COM object of type 'System.__ComObject' to interface
type 'DShowNET.ISampleGrabber'

public void GrapImg()

{
Trace.Write("IMG");


if (savedArray == null)
{
int size = videoInfoHeader.BmiHeader.ImageSize;
if ((size < 1000) || (size > 16000000))
return;
savedArray = new byte[size + 64000];
}

sampGrabber.SetCallback(this, 1);

}


Error comes from the line

sampGrabber.SetCallback(this, 1);

Plz help me to solve this problem.

Thanks in Advance
AnswerRe: CaptureFrame inside Thread Pin
Member 360140912-Jan-11 0:16
Member 360140912-Jan-11 0:16 
QuestionCreate a gui for linux. Pin
krish_kumar11-Mar-10 18:55
krish_kumar11-Mar-10 18:55 
AnswerRe: Create a gui for linux. [modified] Pin
Saurabh.Garg26-Mar-10 18:50
Saurabh.Garg26-Mar-10 18:50 
QuestionManaged DX vs Unmanaged DX vs XNA Framework Pin
Shelby Robertson 23-Feb-10 4:51
Shelby Robertson 23-Feb-10 4:51 
AnswerRe: Managed DX vs Unmanaged DX vs XNA Framework Pin
ely_bob1-Mar-10 8:35
professionalely_bob1-Mar-10 8:35 
QuestionDirectX: Resoution glitch after switching from fullscreen to windowed mode Pin
Aschratt23-Feb-10 3:51
Aschratt23-Feb-10 3:51 
AnswerRe: DirectX: Resoution glitch after switching from fullscreen to windowed mode Pin
Luc Pattyn23-Feb-10 4:37
sitebuilderLuc Pattyn23-Feb-10 4:37 
GeneralRe: DirectX: Resoution glitch after switching from fullscreen to windowed mode Pin
Aschratt23-Feb-10 4:43
Aschratt23-Feb-10 4:43 
AnswerRe: DirectX: Resoution glitch after switching from fullscreen to windowed mode Pin
Aschratt23-Feb-10 6:03
Aschratt23-Feb-10 6:03 
QuestionAnyone using Geometric Algebra? Pin
Tim Craig9-Feb-10 12:48
Tim Craig9-Feb-10 12:48 
QuestionSEO vs. GRAPHIC DESIGNS? Pin
hifiger20049-Feb-10 1:14
hifiger20049-Feb-10 1:14 
AnswerRe: SEO vs. GRAPHIC DESIGNS? Pin
LunaticFringe9-Feb-10 7:58
LunaticFringe9-Feb-10 7:58 
AnswerRe: SEO vs. GRAPHIC DESIGNS? Pin
Xmen Real 6-Mar-10 22:35
professional Xmen Real 6-Mar-10 22:35 
AnswerRe: SEO vs. GRAPHIC DESIGNS? Pin
fhdendy22-Mar-10 7:30
fhdendy22-Mar-10 7:30 
Question[OPENGL] render mesh/lighting Pin
yakovm38-Feb-10 19:41
yakovm38-Feb-10 19:41 
AnswerRe: [OPENGL] render mesh/lighting Pin
LunaticFringe9-Feb-10 3:48
LunaticFringe9-Feb-10 3:48 
AnswerRe: [OPENGL] render mesh/lighting Pin
ely_bob2-Mar-10 18:17
professionalely_bob2-Mar-10 18:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.