Re: SVG to PNG
Pro Turm <[email protected]> Tue, 24 Nov 2020 16:29:10 +0100
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <CADC9rU96-9njwpVtJK3bb9DE2W+UbuYY9cb-V=E0Ep2VBjuGfw@mail.gmail.com> |
Again on Windows encountered the following anomaly: utility.c: DefineClientPathAndName->GetPathComponent it cuts out the last folder name of the path, thinking it is a binary. and sets the clientPath truncated. Is this a bug or a feature ? Am Di., 24. Nov. 2020 um 15:15 Uhr schrieb Bob Friesenhahn < [email protected]>: > On Tue, 24 Nov 2020, Pro Turm wrote: > > > I'm back on Windows: > > > > 1) It turned out that type.mgk is a must to exist. If it is not found, an > > exception is thrown? > > ThrowException(exception,ConfigureError,UnableToAccessConfigureFile, > > filename); > > > > 2) what is the use case for this code in blob.c > > #if defined(MSWINDOWS) > > { > > void > > *resource; > > > > resource=NTResourceToBlob(filename); > > if (resource) > > return resource; > > } > > #endif /* defined(MSWINDOWS) */ > > There is a way to embed resource files into compiled binaries when > using Microsoft Windows. I see an example of this in the VisualMagick > configure program. The files under VisualMagick/configure/res are > included in the configure binary due to the project file. The > resource files can provide an icon, origin/version information, or > other information which is valuable to have attached to the > executable. > > There is a way to attach error message information (e.g. > magick/gm_messages.mc) to the binary. The various "mgk" files may be > bound to the executable as resources. The magick/GraphicsMagick.ico > is attached as the icon resource. > > 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 > > > _______________________________________________ > Graphicsmagick-help mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help > _______________________________________________ Graphicsmagick-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help