Magick++ path specified in InitializeMagick() ignored
Caroline Beltran <[email protected]> Sat, 9 Nov 2013 09:30:43 -0600
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <CAKsZF89swqHt1e5CRCBUjeMKC9KayqLtrzwk2MiAfkLh2wxH5w@mail.gmail.com> |
Dear users, I would like to move the graphicsmagick files to another
directory but InitializeMagick() is ignoring the specified path. I tried
to specify both relative and full paths to no avail as seen here:
// unable to pass path to InitializeMagick()
char* path = "E:/C++Samples/GraphicsMagickDemos/myfirsttest/gm_files/";
InitializeMagick(path);
I also tried all of the following combinations seen here:
InitializeMagick("../gm_files/");
InitializeMagick("..\\gm_files\"); // compiler error (due to escaping
double quotes character)
InitializeMagick("..\\gm_files\\");
InitializeMagick("E:\C++Samples\GraphicsMagickDemos\myfirsttest\gm_files\\");
InitializeMagick("E:/C++Samples/GraphicsMagickDemos/myfirsttest/gm_files/");
InitializeMagick("E:/C++Samples/GraphicsMagickDemos/myfirsttest/gm_files");
InitializeMagick("E:\\C++Samples\\GraphicsMagickDemos\\myfirsttest\\gm_files\\");
InitializeMagick("E:\\C++Samples\\GraphicsMagickDemos\\myfirsttest\\gm_files");
For now, I have the graphicsmagick files in the same directory as my EXE.
Please advise, thank you!
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Graphicsmagick-apis mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-apis