How To Save Graph As Image???

Have a suggestion for improving DPlot or a question about existing features? Let us know

Moderator: DPlotAdmin

Post Reply
meeshu
Posts: 4
Joined: Fri Oct 05, 2007 4:52 pm

How To Save Graph As Image???

Post by meeshu »

I might be mistaken, but over a year ago, I seem to recall being able to save graphs in a variety of image formats without issue. Now I'm currently running version 2.2.6.8 of DPlot and there is no option of saving graphs as an image (by using DPlot only).

According to DPlot V 2.2.6.8 help file, saving in image formats (now?) requires the use of a plugin, specifically FreeImage.dll.

I downloaded this dll (version 3.13.1) and placed a copy within a newly created subdirectory within DPlot named "fileexport". Full directory path is -
C:\Program Files\DPlot\plugins\fileexport

Restarted DPlot, but get error message -
Cannot load plugin_init in c:\program files\dplot\plugins\fileexport\freeimage.dll.

The plugin does not seem to be recognized by DPlot!? :? :x

So how do I save graphs in image formats now??
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

I might be mistaken, but over a year ago, I seem to recall being able to save graphs in a variety of image formats without issue.
You aren't mistaken. DPlot has had the ability to export BMP, GIF, JPG, PNG, and TIF files for several years, and still does. However, the image export plugins are optional components of the setup program. If you didn't elect to install those plugins then you won't see the corresponding format in the "Save as type" box.
According to DPlot V 2.2.6.8 help file, saving in image formats (now?) requires the use of a plugin, specifically FreeImage.dll.
This feature has always required file export plugins, but FreeImage.dll isn't it. FreeImage.dll contains functions that are called by the image export plugins. Unless you've manually moved files around you should already have a copy of FreeImage.dll in the same folder where dplot.exe is located. You will need to delete the copy of FreeImage.dll you placed in \plugins\fileexport, else you'll continually get that error message.
So how do I save graphs in image formats now??
Just run the setup program again and be sure to check the appropriate image export checkboxes. (Those components are checked by default the first time you run the setup program, so unless you unchecked them... perhaps your trouble is remembering how to save those images? In that case just select File>Save As and select the image type in the "Save as type" list.)
Visualize Your Data
support@dplot.com
meeshu
Posts: 4
Joined: Fri Oct 05, 2007 4:52 pm

Post by meeshu »

Thank you very much for the prompt and detailed reply!

I deleted freeimage.dll file from the fileexport subdirectory. Uninstalled DPlot. Reinstalled DPlot, and ensured saving/exporting to image formats was checked during installation. DPlot now saves to image formats! :)

The first installation of DPlot didn't install the save to image formats function for some reason? I may have accidentally unchecked save to image format option during installation? I don't know. :?:

Freeimage.dll file is indeed located within DPlot main directory after reinstallation.
Post Reply