Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000292graphvizDotpublic2003-10-14 08:552011-04-28 04:02
ReporterStig Bille Iversen 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Windows-5.1 (XP)OS Version
Summary0000292: generated VRML node*.png files is corrupted on windows platform
Description



I use dot compiled for Windows (version 1.10), native version.
I use the following command: dot -Tvrml small.dot -o small.wrl
small.wrl and two PNG files is generated (node1.png and node2.png).



The two PNG files is generated wrongly.
The PNG files cannot be opened with any program (Cosmo viewer, GIMP for windows, Internet Explorer,...).



It looks like the PNG file has been opened in text mode.
Steps To Reproduce

digraph PMS {
   PMS_ADJCD;
   PMS_ANLU;
   PMS_ANLU -> PMS_ADJCD;
}
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT 
I think the error is in the file graphviz-1.10dotneatocommonvrmlgen.c, line 154, function nodefile.
The line should be changed from:
    rv = fopen(nodefilename(n,buf),'w');
to
    rv = fopen(nodefilename(n,buf),'wb');

I have not been able to comfirm the (I
FORMER-ID363
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (14 October 2003)
VERSION     1.10
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => user695


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker