We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Hatching is too dark when converting to image

Hatching is too dark when converting to image.

Thank you for your support.

I have converted No10.vsd to image with Aspose Diagaram 17.11. Please find errors in ExportToImage_out.ipg.
No10.zip (38.7 KB)
ExportToImage_out.jpg (58.6 KB)

I have also attached No10.tif whichi is the image that MS Visio outputs as a reference.
No10.tif.zip (5.5 KB)

This is the sample code.

public class ExportToImage
public static void Run()
try {
// ExStart:ExportToImage
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_LoadSaveConvert();

            // Call the diagram constructor to load a VSD diagram
            //Diagram diagram = new Diagram(dataDir + "ExportToImage.vsd");
            Diagram diagram = new Diagram(dataDir + "No10.vsd");

            // Save Image file
            diagram.Save(dataDir + "ExportToImage_out.jpg", SaveFileFormat.JPEG);
            // ExEnd:ExportToImage
        catch (System.Exception ex)



We managed to replicate the problem of dark shape view in our environment. It has been logged under the ticket ID DIAGRAMNET-51404 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.

Thank you for your support.
Do you have any updates about DIAGRAMNET-51404? I am happy if I could get when the incident will be fixed,


The linked ticket ID DIAGRAMNET-51404 is pending for the analysis and not resolved yet. Our product team will investigate as per their development schedules. We will let you know once it is resolved.

The issues you have found earlier (filed as DIAGRAMNET-51404) have been fixed in Aspose.Diagram for .NET 19.4.