Re: Finally have cleared the leaks ...

Bob Friesenhahn <[email protected]> Thu, 26 Mar 2020 09:20:10 -0500 (CDT)
Newsgroups gmane.comp.video.graphicsmagick.apis
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--3735943886-144512857-1585232411=:11753
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8BIT

On Wed, 25 Mar 2020, 10bxjfhf wrote:
> Deleting or renaming the log.mgk files did not always seem to help. IIRC, it 
> will simply use the built-in defaults if it does not manage to find log.mgk 
> and that is cast in stone once compiled.

The functions I recently added allow you to change the "built-in 
defaults" before invoking InitializeMagick().

>> I don't understand "a lot of work".
>
> I must call
>
> InitializeMagick(NULL);
>  MagickLib::DestroyMagick();
>
> and let it go through its gyrations;  then initialize the library again, just 
> to be able to implement the necessary environment variables, independent of 
> any other app I might have installed, and to allow me to override some of the 
> built-in defaults.

Isn't this "a lot of work" due to the automatic DLL initialization 
that you are easily able to disable and is now disabled by default?

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt
--3735943886-144512857-1585232411=:11753
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--3735943886-144512857-1585232411=:11753
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Graphicsmagick-apis mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-apis

--3735943886-144512857-1585232411=:11753--