WinFIG forum

WinFIG => General Discussion => Topic started by: raphael on November 16, 2009, 10:48:22 AM

Title: can not export bitmap and pdf.
Post by: raphael on November 16, 2009, 10:48:22 AM
Hello,

I have some difficulties to export a file. When I choose bitmap (jpeg, png, etc.) or pdf, the created file is empty. I have installed winfig on Windows 7. I also tried to input directly command lines in "the fig2dev command line parameters" (ie fig2dev-exe inputfile.fig output.jpeg), but it failed.

I can export eps formats for instance, but this creates images with a poor quality.

Could help me please?

Thanks.

Raphael.
Title: Re: can not export bitmap and pdf.
Post by: Andreas on November 16, 2009, 12:09:56 PM
1.you need a GhostScript installation for PDF and bitmap exports (see the Readme.rtf)
2. the correct command for the command line for PDF export is:

fig2dev.exe -L pdf inputfile.fig outputfile.pdf

where inputfile.fig and outputfile.pdf are your file names. It might be necessary to provide the full path to fig2dev.exe or you cd into the WinFIG folder.
Title: Re: can not export bitmap and pdf.
Post by: raphael on November 16, 2009, 02:18:42 PM
It works now. thanks a lot.
Raphael.
Title: Re: can not export bitmap and pdf.
Post by: marcelus23 on February 16, 2011, 01:56:01 PM
thanks for this usefull informations..now i find what i want to know..thanks.. ;)

diseño web (http://www.creanet.es)diseño grafico (http://www.creanet.es)diseño web malaga (http://www.creanet.es)diseño web madrid (http://www.creanet.es)diseño grafico malaga (http://www.creanet.es)diseño grafico madrid (http://www.creanet.es)diseño de paginas web (http://www.creanet.es)diseño de logotipos (http://www.creanet.es)diseño web en malaga (http://www.creanet.es)graphic design (http://www.creanet.es)creanet (http://www.creanet.es)web design (http://www.creanet.es)
:::::::: MARCUS LORE :::::::::
Title: Re: can not export bitmap and pdf.
Post by: susiehaynes on April 09, 2011, 12:47:37 PM
great! the informations you guys posted it helps me a lot. :) (http://www.la-beleza.com/procedures/breast_enlargement.html):) (http://www.breastenlargementpittsburgh.com/breast-plastic-surgeries/breast-enlargement-pittsburgh-pa)
Title: Re: can not export bitmap and pdf.
Post by: Séverine on July 21, 2011, 04:17:09 PM
Hello,
First, I'm sorry for my very bad english...
I have a problem to export my file.fig into a pdf file. I have installed Ghostscript, but when I try to export my file into .pdf (or .pdftex), the pdf file is empty. I do not understand where I can write the command line for fig2dev (the window is not access for me : I can't write here, there is by default : -L pdftex -F -L pdftex_t -p "repere_coord.pdf")
Can you help me to find a solution please ?
Thank you,
Séverine
Title: Re: can not export bitmap and pdf.
Post by: Andreas on July 26, 2011, 12:18:09 AM
You are exporting to JPEG, so you need a GhostScript installation as described in the readme.txt. Did you install GhostScript?

You can check the "About" dialog to see if and where WinFIG could find GhostScript.

If you already installed GhostScript and it still doesn't work, perhaps your registry is messed with entries from obsolete installations:
Read here about how WinFIG determines which GS location to assume: http://www.schmidt-web-berlin.de/winfig_forum/index.php?topic=25.0

Remove all obsolete values.

If you don't want to do that, you could alternatively configure WinFIG to use a specific GhostScript installation by specifiyng the path to gswin32c.exe in the "Other" tab of the preferences dialog.

You could furthermore call "fig2dev.exe -L jpeg inputfile.fig output.jpeg" in the "Command Prompt" (http://en.wikipedia.org/wiki/Command_Prompt). This will show you any error messages. Also check the logfile winfig.log in the WinFIG folder for error messages.

By the way, JPEG is not the recommended format for drawings, because it is not loss-less and therefore not suitable for fine structures. Use PNG instead.