Skip to content

Commit

Permalink
remove TIFF exporter (has some issues)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkutmon committed Oct 3, 2024
1 parent 84d0334 commit cb4cdb9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ public void doExport(File file, VPathway vPathway, TranscodingHints hints) throw
} else if (getType().equals(TYPE_PNG)) {
t = new PNGTranscoder();
System.out.println("hi");
} else if (getType().equals(TYPE_TIFF)) {
t = new TIFFTranscoder();
// } else if (getType().equals(TYPE_TIFF)) {
// t = new TIFFTranscoder();
} else if (getType().equals(TYPE_PDF)) {
try {
Class<?> pdfClass = Class.forName("org.apache.fop.svg.PDFTranscoder");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ public static void main(String[] args) {
exporter = new BatikImageExporter(ImageExporter.TYPE_PNG);
} else if(outStr.endsWith(ImageExporter.TYPE_PDF)) {
exporter = new BatikImageExporter(ImageExporter.TYPE_PDF);
} else if(outStr.endsWith(ImageExporter.TYPE_TIFF)) {
exporter = new BatikImageExporter(ImageExporter.TYPE_TIFF);
// } else if(outStr.endsWith(ImageExporter.TYPE_TIFF)) {
// exporter = new BatikImageExporter(ImageExporter.TYPE_TIFF);
} else {
exporter = new BatikImageExporter(ImageExporter.TYPE_SVG);
}
Expand All @@ -214,7 +214,7 @@ static void printHelp() {
"\t-c\tA string containing the graphId of the object to color, followed " +
"by the color to be used for that object (hexadecimal, e.g. FF0000 for red)\n" +
"The export format is determined by the output file extension and can be one of: " +
"svg, pdf, png, tiff"
"svg, pdf, png"
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ public static void main(String[] args)
Engine engine = new Engine();
engine.addPathwayImporter(new GpmlFormat());
engine.addPathwayImporter(new MappFormat());
engine.addPathwayExporter(new MappFormat());
// engine.addPathwayExporter(new MappFormat());
engine.addPathwayExporter(new GpmlFormat());
engine.addPathwayExporter(new BatikImageExporter(ImageExporter.TYPE_SVG));
engine.addPathwayExporter(new RasterImageExporter(ImageExporter.TYPE_PNG));
engine.addPathwayExporter(new BatikImageExporter(ImageExporter.TYPE_TIFF));
// engine.addPathwayExporter(new BatikImageExporter(ImageExporter.TYPE_TIFF));
engine.addPathwayExporter(new BatikImageExporter(ImageExporter.TYPE_PDF));
engine.addPathwayExporter(new EUGeneExporter());
engine.addPathwayExporter(new DataNodeListExporter());
Expand Down

0 comments on commit cb4cdb9

Please sign in to comment.