Re: GM - more questions

10bxjfhf <[email protected]> Thu, 20 Feb 2020 11:41:26 -0800
Newsgroups gmane.comp.video.graphicsmagick.apis
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============8377979072772115068==
Content-Type: multipart/alternative;
 boundary="------------0FBB0AC3F9F6F1440C5A3DD5"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------0FBB0AC3F9F6F1440C5A3DD5
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit


On 2020-02-20 10:52 a.m., Bob Friesenhahn wrote:
> On Thu, 20 Feb 2020, acorn12 wrote:
>>
>> Description: 
>> D:\pkg\wx\MSVC2019\_3.1.2_2019\wxMeta\TestFiles\TIFF\Scan0002.tif, 
>> Reason: No decode delegate for this image format, function: ReadImage
>>
>> I currently have the latest (I think) recompiled code at 
>> D:\Download\Graphics\graphicsmagick-code-c031--3ded\
>>
>> while my GM installation is at C:\Program Files\GraphicsMagick-1.3.34-Q8
>
> How did you produce this installation?  Is it using DLLs?

Installed from GraphicsMagick-1.3.34-Q8-win64-dll.exe

so yes it is using DLL's, I presume

>
>> My environment variables are:
>> MAGICK_CONFIGURE_PATH=C:\Program Files\GraphicsMagick-1.3.34-Q8\
>> MAGICK_DEBUG=configure
>> MAGICK_FONT=C:\Program Files\gs\gs9.50\fonts\n019003l.pfb
>> MAGICK_HOME=C:\Program Files\GraphicsMagick-1.3.34-Q8\
>>
>> I am running on a 64-bit Win 10 machine, but am compiling for 32-bits 
>> using the wxWidgets framework
>
> Was any output printed due to setting MAGICK_DEBUG=configure?

At what stage?

As far as I am concerned, I am not using any of the code I compiled in 
this test app. I don't recall what it all said during the compile, & I 
have not resolved all of the compile issues reported by MSVC due to 
those complaints about the paths being different.

In effect, I am expecting to only use the self-complied tree to learn 
more about GM and am hoping to, in effect only use the DLLs etc I can 
download from SF

When I run "gm convert -list delegates"

there is some interesting content:

/Found: C:\Program Files\GraphicsMagick-1.3.34-Q8\delegates.mgk//
//11:22:15 0:0.033111  0.000u 13580 
nt_base.c/NTGhostscriptFind/1264/Configure://
//  Searching for Ghostscript...//
//11:22:15 0:0.035725  0.000u 13580 
nt_base.c/NTGhostscriptFind/1287/Configure://
//    Searching for GPL Ghostscript...//
//11:22:15 0:0.038430  0.000u 13580 
nt_base.c/NTGhostscriptFind/1307/Configure://
//      RegOpenKeyExA() opened "HKEY_CURRENT_USER\SOFTWARE\GPL 
Ghostscript"//<<<< it finds some Ghostscript
//11:22:15 0:0.042154  0.000u 13580 
nt_base.c/NTGhostscriptFind/1287/Configure://
//    Searching for GNU Ghostscript...//
//11:22:15 0:0.045103  0.000u 13580 
nt_base.c/NTGhostscriptFind/1377/Configure://
//      RegOpenKeyExA() failed to open "HKEY_CURRENT_USER\SOFTWARE\GNU 
Ghostscript" (The system cannot find the file specified.)//
//..... some other versions it cannot find
/

/Failed to find Ghostscript!/

/
/

It seems I do have bith 32 & 64-bit Ghostscript installed, but am unsure 
which one I would need to uninstall.

Still, FWIW, neither is on the path; except for the string 
MAGICK_FONT=C:\Program Files\gs\gs9.50\fonts\n019003l.pfb which points 
to the 64-bit version font; I'm not sure of there is any difference 
between the 32 & 64 bit fonts.

>
> If using DLLs, is it possible that there is some other GraphicsMagick 
> installation which may be used rather than the one you intend to use?
Not really, other than the version I compiled myself, but none of those 
files would be on the path.

The biggest unknown as far as I can see is my understanding of how to 
specify and use these delegates it is complaining about

Arnold


--------------0FBB0AC3F9F6F1440C5A3DD5
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 2020-02-20 10:52 a.m., Bob
      Friesenhahn wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">On
      Thu, 20 Feb 2020, acorn12 wrote:
      <br>
      <blockquote type="cite">
        <br>
        Description:
        D:\pkg\wx\MSVC2019\_3.1.2_2019\wxMeta\TestFiles\TIFF\Scan0002.tif,
        Reason: No decode delegate for this image format, function:
        ReadImage
        <br>
        <br>
        I currently have the latest (I think) recompiled code at
        D:\Download\Graphics\graphicsmagick-code-c031--3ded\
        <br>
        <br>
        while my GM installation is at C:\Program
        Files\GraphicsMagick-1.3.34-Q8
        <br>
      </blockquote>
      <br>
      How did you produce this installation?  Is it using DLLs?
      <br>
    </blockquote>
    <p>Installed from GraphicsMagick-1.3.34-Q8-win64-dll.exe</p>
    <p>so yes it is using DLL's, I presume<br>
    </p>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <br>
      <blockquote type="cite">My environment variables are:
        <br>
        MAGICK_CONFIGURE_PATH=C:\Program Files\GraphicsMagick-1.3.34-Q8\
        <br>
        MAGICK_DEBUG=configure
        <br>
        MAGICK_FONT=C:\Program Files\gs\gs9.50\fonts\n019003l.pfb
        <br>
        MAGICK_HOME=C:\Program Files\GraphicsMagick-1.3.34-Q8\
        <br>
        <br>
        I am running on a 64-bit Win 10 machine, but am compiling for
        32-bits using the wxWidgets framework
        <br>
      </blockquote>
      <br>
      Was any output printed due to setting MAGICK_DEBUG=configure?
      <br>
    </blockquote>
    <p>At what stage?</p>
    <p>As far as I am concerned, I am not using any of the code I
      compiled in this test app. I don't recall what it all said during
      the compile, &amp; I have not resolved all of the compile issues
      reported by MSVC due to those complaints about the paths being
      different.</p>
    <p>In effect, I am expecting to only use the self-complied tree to
      learn more about GM and am hoping to, in effect only use the DLLs
      etc I can download from SF</p>
    <p>When I run "gm convert -list delegates"</p>
    <p>there is some interesting content:</p>
    <p> <i>Found: C:\Program
        Files\GraphicsMagick-1.3.34-Q8\delegates.mgk</i><i><br>
      </i><i>11:22:15 0:0.033111  0.000u 13580
        nt_base.c/NTGhostscriptFind/1264/Configure:</i><i><br>
      </i><i>  Searching for Ghostscript...</i><i><br>
      </i><i>11:22:15 0:0.035725  0.000u 13580
        nt_base.c/NTGhostscriptFind/1287/Configure:</i><i><br>
      </i><i>    Searching for GPL Ghostscript...</i><i><br>
      </i><i>11:22:15 0:0.038430  0.000u 13580
        nt_base.c/NTGhostscriptFind/1307/Configure:</i><i><br>
      </i><i>      RegOpenKeyExA() opened
        "HKEY_CURRENT_USER\SOFTWARE\GPL Ghostscript"</i><i>  
        &lt;&lt;&lt;&lt; it finds some Ghostscript<br>
      </i><i>11:22:15 0:0.042154  0.000u 13580
        nt_base.c/NTGhostscriptFind/1287/Configure:</i><i><br>
      </i><i>    Searching for GNU Ghostscript...</i><i><br>
      </i><i>11:22:15 0:0.045103  0.000u 13580
        nt_base.c/NTGhostscriptFind/1377/Configure:</i><i><br>
      </i><i>      RegOpenKeyExA() failed to open
        "HKEY_CURRENT_USER\SOFTWARE\GNU Ghostscript" (The system cannot
        find the file specified.)</i><i><br>
      </i><i>..... some other versions it cannot find<br>
      </i></p>
    <p><i>Failed to find Ghostscript!</i></p>
    <p><i><br>
      </i></p>
    <p>It seems I do have bith 32 &amp; 64-bit Ghostscript installed,
      but am unsure which one I would need to uninstall.</p>
    <p>Still, FWIW, neither is on the path; except for the string
      MAGICK_FONT=C:\Program Files\gs\gs9.50\fonts\n019003l.pfb which
      points to the 64-bit version font; I'm not sure of there is any
      difference between the 32 &amp; 64 bit fonts.<br>
    </p>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <br>
      If using DLLs, is it possible that there is some other
      GraphicsMagick installation which may be used rather than the one
      you intend to use?
      <br>
    </blockquote>
    Not really, other than the version I compiled myself, but none of
    those files would be on the path.<br>
    <p>The biggest unknown as far as I can see is my understanding of
      how to specify and use these delegates it is complaining about<br>
    </p>
    <p>Arnold<br>
    </p>
  </body>
</html>

--------------0FBB0AC3F9F6F1440C5A3DD5--


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


--===============8377979072772115068==
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

--===============8377979072772115068==--