Author Topic: Bitmap export creates empty files  (Read 9331 times)

JohnMLee

  • Newbie
  • *
  • Posts: 2
    • View Profile
Bitmap export creates empty files
« on: March 09, 2010, 10:54:04 PM »
I posted this in the General forum (in reply to another user's post), but just realized it's probably more appropriate here.

I'm having trouble exporting bitmaps from WinFIG.  I'm using WinFIG 4.4 and GhostScript 8.64 (both 32 bit), and fig2dev.exe is in the same folder as WinFIG. If I export to a PNG file and save it in the folder that contains WinFIG and fig2dev, it works correctly.  But if I try to save the exported file anywhere else, I get an empty file. Help!!

Andreas

  • Administrator
  • Full Member
  • *****
  • Posts: 140
    • View Profile
Re: Bitmap export creates empty files
« Reply #1 on: March 21, 2010, 12:28:15 AM »
Probably GhostScript (gswin32c.exe) cannot be found if bit map export doesn't work, although I never hear of a situation where it depends on the location of the output file.

Read this thread for how fig2dev calls gswin32c.exe

You may also try and call fig2dev from the command line:

fig2dev -L png inputfile.fig outputfile.png

That will give you more error messages. Also check the log file winfig.log.
This forum belongs to www.schmidt-web-berlin.de/winfig