15,891,184 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by z3m (Top 16 by date)
z3m
21-Dec-16 2:44am
View
Sure here is the detailed link:
https://www.dropbox.com/sh/fannxb103h4859a/AAC2dQ3WOv6R1FD75m_otu8ca?dl=0
z3m
28-Jul-14 12:33pm
View
Thanks a lot. You delivered the main idea :)
z3m
1-Jun-14 16:26pm
View
Dear I have already visited and studied the msdn. It didn't helped me enough.
http://msdn.microsoft.com/en-us/library/system.security.cryptography.hashalgorithm.aspx
z3m
13-May-14 4:24am
View
I have tried the Bitmap.LockBits method, u can see code down here, but the problem I got is every fourth bit in array is 255 and all thers are 0 like this {0,0,0,255, 0,0,0,255,0,0,0,255}
what could be the reason? please help
"code example is here "
public byte [] returnArray(Bitmap bitmap){
BitmapData bmpData = bitmap.LockBits(new Rectangle(0, 0, bitmap.Width, bitmap.Height), ImageLockMode.ReadOnly, bitmap.PixelFormat);
IntPtr ptr= bmpData.Scan0;
int bytes= Math.Abs(bmpData.Stride)*bmpData.Height;
byte[] rgbvalues= new byte[bytes];
System.Runtime.InteropServices.Marshal.Copy(ptr, rgbvalues, 0, bytes);
return rgbValues;
}
z3m
13-May-14 3:10am
View
Sergey! I am sorry to say but I didn't got your point. :(
z3m
10-Apr-14 9:31am
View
I am sorry for short rely, I wanted to say it didn't updated the progress bar not even gave me the exception. Every thing is going good but it don't update the progress bar.
z3m
10-Apr-14 9:17am
View
As for now this thing worked for me.
Control.CheckForIllegalCrossThreadCalls = false;
but after this I have to call multiple threads then this " Control.CheckForIllegalCrossThreadCalls = false;" code line may cause problems for me.
Please suggest any other method.
z3m
10-Apr-14 9:12am
View
I have tried both ways: as you suggested, it didn't worked. here are the changes I have made to my code.
private void btnSearch_Click(object sender, EventArgs e)
{
worker.DoWork += worker_DoWork;
worker.WorkerReportsProgress = true;
// worker.ProgressChanged += worker_ProgressChanged;
worker.RunWorkerAsync();
updateUI();
}
z3m
5-Apr-14 8:24am
View
Ryan:
I have hooked up the event in the same way, I am new to C# so please tell me how will it compile? what code changes i may need to do?
z3m
17-Mar-14 10:59am
View
I have source code for it, but i don't know what things i may need to do to modify it.
z3m
19-Feb-14 7:34am
View
SA, I really don't have idea to work with these wrappers please help me, specially this C++ i am very bad in it.
z3m
18-Feb-14 21:06pm
View
I have used the same Aforge API.
I have used this code: VideoFileReader class is from the same library you have mentioned.
it's function ReadVideoFrame( ) returns me a Bitmap which caused all this hazard.
VideoFileReader reader = new VideoFileReader( );
// open video file
reader.Open( "test.avi" );
// check some of its attributes
Console.WriteLine( "width: " + reader.Width );
Console.WriteLine( "height: " + reader.Height );
Console.WriteLine( "fps: " + reader.FrameRate );
Console.WriteLine( "codec: " + reader.CodecName );
// read 100 video frames out of it
for ( int i = 0; i < 100; i++ )
{
Bitmap videoFrame = reader.ReadVideoFrame( );
// process the frame somehow
// ...
// dispose the frame when it is no longer required
videoFrame.Dispose( );
}
reader.Close( );
z3m
18-Feb-14 20:49pm
View
@Sergey: university project forced me to us it.
1 more thing I have discovered System.Drawing.dll has been deprecated while I was using a third party api and a function of that api throws an System.Drawing.Bitmap I need to catch/save that bitmap but could not because that library has been eliminated :(
Exactly I want to split video file into multiple images.
Please see if you can help me with that.
z3m
18-Feb-14 20:23pm
View
No nothing like that, infect I am working on windows 8 store app and I came to know that System.Drawing.dll has been deprecated or some thing like that,
where as I was using a third party .dll and one of it's function was throwing a Bitmap and now I am unable to catch/proceed with that Bitmap....
z3m
18-Feb-14 20:03pm
View
Problem here is that I want to do it for windows store app and development for store apps does not support System.Drwaing. infect that System.Drawing.dll has been deprecated. :(
z3m
18-Feb-14 18:16pm
View
Dear Thank you so much for your really good answer.
I still have a question.
The API I am using returns me a System.Drawing.Bitmap I have really tried hard to convert it into Windows.Graphics.Imaging.
Could you please help me to do that?
Show More