Hi,
we use GdPicture 12 to read datamatrix codes. We need to do a lot of image preprocessing using GdPictureImaging class to enhance image quality.
Because there are several possible "preprocessing paths" which might lead to a readable ID code, we want to start these paths in parallel using C# tasks. The image is cloned before starting processing in the tasks.
My question: Is it correct to instantiate a new GdPictureImaging object for every task? Can we be sure that working with one GdPictureImaging instance is independent to the other intances? I assume that at least the method ClearGdPicture() releases resources also created by other GdPictureImaging instances. But are there any more methods that also have influence to other GdPictureImaging instances? Do we perhaps need to mutex any methods?
Can you please provide any example how to use GdPictureImaging in parallel?
Thanks in advance
MLEU
How to use GdPictureImaging with multithreading
Re: How to use GdPictureImaging with multithreading
Hi,
>>My question: Is it correct to instantiate a new GdPictureImaging object for every task?
Yes, as soon each of these instance are not manipulating the same image in parallel.
Please let us know if you need further information.
With best regards,
Loïc Carrère
>>My question: Is it correct to instantiate a new GdPictureImaging object for every task?
Yes, as soon each of these instance are not manipulating the same image in parallel.
Please let us know if you need further information.
With best regards,
Loïc Carrère
Who is online
Users browsing this forum: No registered users and 0 guests