Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001216graphvizDotpublic2007-12-14 06:122011-04-28 04:03
ReporterFerenc Kurucz 
Assigned Toellson 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Linux-Debian 2.6.18.dfsg.1-1OS Version
Summary0001216: No loadimage plugin for "jpeg:cairo"
Description



I just upgraded from 2.8 to 2.12 and 2.16. I am trying to make a
PNG file with nodes with JPG pictures in it and then I get the
following error:
<CD>
-----------------------------------------------------
dot -v -Tpng -O gvexport.dot
-----------------------------------------------------
Activated plugin library: libgvplugin_pango.so.5
Using textlayout: textlayout:cairo
Activated plugin library: libgvplugin_dot_layout.so.5
Using layout: dot:dot_layout
Using render: cairo:cairo
Using device: png:cairo:cairo
The plugin configuration file:
        /usr/lib/graphviz/config4
                was successfully loaded.
    render : cairo dot fig gd map ps svg vml vrml xdot
    layout : circo dot fdp neato nop nop1 nop2 twopi
    textlayout : textlayout
    device : canon cmap cmapx cmapx_np dia dot fig gd gd2 gif hpgl imap imap_np ismap jpe jpeg jpg mif mp pcl pdf pic plain plain-ext png ps ps2 svg svgz vml vmlz vrml vtx wbmp xdot xlib
    loadimage : (lib) gd gd2 gif jpe jpeg jpg png ps xbm
Warning: cell size too small for content
dot: fontname "Arial" resolved to: "Arial, Normal" /var/lib/defoma/fontconfig.d/A/Arial-Regular.ttf
network simplex: 3 nodes 3 edges 0 iter 0.00 sec
network simplex: 3 nodes 3 edges 0 iter 0.00 sec
in label of node I1
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
mincross: pass 0 iter 0 trying 0 cur_cross 0 best_cross 0
mincross PGV_Graph: 0 crossings, 0.00 secs.
network simplex: 1 nodes 0 edges 0 iter 0.00 sec
routesplines: 0 edges, 0 boxes 0.00 sec
Using render: cairo:cairo
Using device: png:cairo:cairo
Activated plugin library: libgvplugin_gd.so.5
Using render: gd:gd
Warning: No loadimage plugin for "jpeg:cairo"
-----------------------------------------------------
Version: dot - Graphviz version 2.16 (Mon Nov 19 14:33:28 UTC 2007)
-----------------------------------------------------
It was OK with 2.8, but does not work in 2.12 and 2.16 (Debian packages) and 2.16 from source
</CD>
Steps To Reproduce

digraph PGV_Graph {
edge [ style=solid, arrowhead=normal arrowtail=none];
node [ shape=plaintext];
I1 [ label=<<TABLE BORDER="0" CELLBORDER="1" CELLPADDING="2" CELLSPACING="0" BGCOLOR="#F0F0F0"><TR><TD ROWSPAN="2" CELLPADDING="1" PORT="pic" WIDTH="50" HEIGHT="60" FIXEDSIZE="true"><IMG SCALE="true" SRC="/somewhere/somedir/pic.jpg" /></TD></TR></TABLE>>];
}
Additional Information

[ellson] The problem is because we have moved the default -Tpng renderer to cairo so as to get the better quality
anti-aliased line drawings, but we don't have a jpg->cairo image loader.

The workaround, which will get you the same quality as you had before, is to use: -Tpng:gd

Alternatively, you could convert your images to png format which is supported by the cairo imageloader.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1247
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (14 Dec 2007)
VERSION     2.16
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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


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