Dear graphics-magick team members:
I have the following two questions:
(1) I heard from web-site that it is thread-unsafe, is that real?
(2) How to get the alpha support using graphics magick?
Thank you very much.
From: Bob Friesenhahn <bfriesen@si...> - 2010-02-05 20:13:12
On Fri, 5 Feb 2010, 泳 游 wrote:
> Dear graphics-magick team members:
> I have the following two questions:
> (1) I heard from web-site that it is thread-unsafe, is that real?
Which web site and under what usage context? My own testing of
versions prior to 1.3.8 is that if many threads were started at once
to perform a very similar task immediately after starting the
software, that the incremental initialization of data structures would
case some of the operations to fail. This is due to one thread
building a data structure while the other threads queried its content.
GraphicsMagick does not currently contain a wrapper for condition
variables so it has no way for several threads to wait for something
to be done by a different thread.
The 1.3 versions are designed to be thread safe and need to be since
threads are used internally.
With 1.3.8 and later, GraphicsMagick is completely initialized by
InitializeMagick() without subsequent incremental "JIT"
> (2) How to get the alpha support using graphics magick?
What do you mean? An alpha/opacity channel has always been supported
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/