Devart Blog

How To: Save Database Diagrams as an Image

Posted by on May 27th, 2009

dbForge Studio for MySQL has the Database Designer functionality that allows you to build and view the structure of your database using the diagrams. You can read more about it in Getting Started with Database Designer article.

Database Designer also can save a database diagram as an image.

Saving Database Diagram as an image

To save database diagram as an image, perform the following steps:


1. Right-click on the diagram and select “Export to image…”.

Step 1

Figure 1: Export to an Image

2. Choose one of the image formats to which you want to save your diagram.

Step 2

Figure 2: Choose Image Format

3. Save the diagram as an image for the future use.

Problems that may occur

Suppose you want to save the created database diagram as a image to paste it into a document, but your diagram has a large size. While saving it into JPG, BMP or PNG format, you see the “low memory” error notification. It occurs because bitmap generating engine needs contiguous memory area and even when using 4 GB of RAM it is not always possible to allocate such an area because of memory fragmentation.

Solution

There are several solutions for this problem. We recommend the following:

1. Export the diagram to the vector format (emf).

2. Try to restart the application and export the diagram again.

We hope this will help you save large database diagrams as images.

Leave a Reply