Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
arnoudbuzing committed Jan 28, 2020
1 parent 1ead9f9 commit f980408
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Prototypes/Source/Java/Import.wl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ JavaImport[in_String, "SVG", Method -> "ApacheBatik"] := Module[{file, input, st
stream = JavaNew["java.io.FileOutputStream", tmp];
output = JavaNew["org.apache.batik.transcoder.TranscoderOutput", stream];
transcoder = JavaNew["org.apache.batik.transcoder.image.PNGTranscoder"];
(* transcoder@addTranscodingHint[PNGTranscoder`KEYUWIDTH, JavaNew["java.lang.Float", 2000.0]]; *)
transcoder@transcode[input, output];
stream@flush[];
stream@close[];
Expand Down

0 comments on commit f980408

Please sign in to comment.