Anyone know if there is anything around which will convert a .map to a gif or png?
Anyone know if there is anything around which will convert a .map to a gif or png?
yes there is, my 3rd post in the thread only a few threads down below: http://seq.sourceforge.net/showthrea...&threadid=1296
Last edited by Mr. Suspicious; 07-11-2002 at 05:32 PM.
Before asking anything read the pre-face section of http://www.smoothwall.org/download/p....9/doc.faq.pdf
after you've read it, you know what to do next...
"Stay alert! Trust noone! Keep your Lazers Handy! Have a nice day." -- Provided courtesy of the Computer. The Computer never lies.
Hmm GD looks a bit over my head....
No one has a website up or anything where you can dump a map file and it covnerts for you like mapfiend used to?
The easiest was it to open them up in ShowEQ, and screen capture the window... I think using the scripts posted by Mr. S. and GD, or Screen Capture are pretty much the only 2 ways to go.
--Jeeves
I'll also point out that on the right-click context menu you will find an option "Save Map Image..." that will save whatever is drawn in the map window to any of the file formats that your installation of Qt is configured to handle (BMP, JPEG, PNG, etc.). So if you just want an image of a map, just start up showeq, open up a map ("File" menu -> "Open Map"); Then right-click on the map image, and select "Save Map Image..." from the context menu, in the dialog that pops up specify a filename and select a file type.
Also, if you configured showeq with --enable-cgi you will have created the drawmap.cgi program that can also be used to generate map images when accessed from the web. Just browse to it, load up the map you want, and save the image to a file.
Enjoy,
Zaphod (dohpaZ)
Chief Software Engineer of the Apocalypse.
http://showeq.doomed.to/
SourceForge.net user: dohpaz.
Personal thank you donations are now accepted.
Arf, finally found out what drawmap.cpp is for =P Thanks Zaphod.
Before asking anything read the pre-face section of http://www.smoothwall.org/download/p....9/doc.faq.pdf
after you've read it, you know what to do next...
"Stay alert! Trust noone! Keep your Lazers Handy! Have a nice day." -- Provided courtesy of the Computer. The Computer never lies.
Just recompile.
now, i know i am stupid... but i have never been able to get it to compile with any of the cgi stuffs. could someone provide an example ./configure --with-cgi line that... they use?
i'll put mine here when i get a chance to go back and remember what i used.
Fry,
Every time i compile with the --enable-cgi-dir=/home/httpd/cgi-bin and the --enable-cgi-icons=/home/httpd/htdocs/eq-icons set in the configure command. I get an error with i do a make with in the drawmap.cpp file on some undeclared function. I will recompile tonite and post the error message for you all to see.
EDIT here is the error that i am seeing
drawmap.cpp: In function 'void paintMap()';
drawmap.cpp:529: 'gdImageGif' undeclared (first use thie function)
drawmap.cpp:529: (Each undeclared identifier is reported only once for each function it appears in.)
make[2]: *** [drawmap.o] Error 1
make[2]: Leaving directory '/showeq/src'
make[1]: *** [all-recursive] Error 1
Any thoughts?
Last edited by domesticbeer; 08-01-2002 at 08:40 PM.
Beer
Any luck yet domesticbeer?
Before asking anything read the pre-face section of http://www.smoothwall.org/download/p....9/doc.faq.pdf
after you've read it, you know what to do next...
"Stay alert! Trust noone! Keep your Lazers Handy! Have a nice day." -- Provided courtesy of the Computer. The Computer never lies.
Actually I found out that the error was casued by not have GIF support anymore in hte GD library. I submitted a patch for this file to fix it and only give the option of using PNG.
Still having a problem of not being able to produce and icons or map images, though
Beer
I had a revelation last night. Since I am running Gentoo linux and to build QT I would just emerge QT. Perhaps I should to an ebuild of QT and then do the the Compiling myself verifiing that the correct options are passed to the configuration scripts.
It is amazing what happens when you stop and think things through.
Beer
Beer, the configure options are right in the .ebuild script. I modified my own for 3.0.4 there. Just vi the ebuild file and add/remove options as you see fit, then run the ebuild. It's not a huge file, so gou can just search for "libjpeg" or something to find the options. Still nice and automated, but fully under your control.
cool will use the SEARCH feature and locate those and then add the ones that will be needed and recompile it.
Beer
There are currently 1 users browsing this thread. (0 members and 1 guests)