Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000120graphvizBuild/Installpublic2002-10-11 14:572011-04-28 04:02
ReporterPeter Meric 
Assigned Toerg 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOS*-*-OS Version
Summary0000120: gdImageCreateFrom{Png|Jpeg} called but HAVE_LIB{PNG|JPEG} macro not tested
Description



Link for libdotneato.al fails when libpng and/or libjpeg
not available because gdImageCreateJpeg and gdImageCreatePng do
not exist in the libgd.so library. The gd_png.c and gd_jpeg.c
files compile fine (as they test the HAVE_LIBPNG/HAVE_LIBJPEG macros).



In gdgen.c, the function loadimage (lines 725-772) should test
the HAVE_LIBPNG and HAVE_LIBJPEG macros (line 760 or thereabouts)
to ensure that the gdImageCreateFrom* functions are only called
if they exist.



I trust that this is descriptive enough.



Regards,



Peter
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT See problem description.
FORMER-ID208
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (11 October 2002)
VERSION     1.8.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 => erg


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