Uses of Class
edu.emory.cellbio.svg.EmbedAndCropException
-
Uses of EmbedAndCropException in edu.emory.cellbio.svg
Modifier and TypeMethodDescriptionprivate void
EmbedAndCrop.checkImageOutputType()
Validate the image output typeprivate double[][]
EmbedAndCrop.getClipPoints
(Element clip) Extract the coordinates of a clip pathprivate double[]
EmbedAndCrop.getCropFraction
(Element img, Element clip) Get the fraction of image that should be cropped off each sideprivate void
EmbedAndCrop.getOutputParams()
Harvest output parameters from dialogprivate double[][]
EmbedAndCrop.getPathPointList
(Element path) Get the points along a path ////Not workingprivate BufferedImage
EmbedAndCrop.loadImageData
(Element imgElement, String basePath, long embedSizeMin) Load image data from an SVG image elementprivate void
Process an SVG DOMprivate void
EmbedAndCrop.processImg
(Element img, Element clip, String basePath) Process an image elementprivate void
EmbedAndCrop.putImgData
(Element img, BufferedImage origImg, double[] crop) Load image data to embedprivate Map.Entry<BufferedImage,
Integer> EmbedAndCrop.readEmbeddedImageData
(String imgString) Read a BufferedImage from image data embedded in the SVG file.private Document
Read an XML file and return a DOMprivate void
Save an XML(SVG) fileprivate void
Save an XML(SVG) fileprivate void
EmbedAndCrop.SVGToStream
(Document dom, OutputStream os) Push XML(SVG) to a streamvoid
EmbedAndCrop.test()