Uses of Class
edu.emory.cellbio.svg.EmbedAndCropException
-
Uses of EmbedAndCropException in edu.emory.cellbio.svg
Methods in edu.emory.cellbio.svg that throw EmbedAndCropExceptionModifier and TypeMethodDescriptionprivate voidEmbedAndCrop.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 voidEmbedAndCrop.getOutputParams()Harvest output parameters from dialogprivate double[][]EmbedAndCrop.getPathPointList(Element path) Get the points along a path ////Not workingprivate BufferedImageEmbedAndCrop.loadImageData(Element imgElement, String basePath, long embedSizeMin) Load image data from an SVG image elementprivate voidProcess an SVG DOMprivate voidEmbedAndCrop.processImg(Element img, Element clip, String basePath) Process an image elementprivate voidEmbedAndCrop.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 DocumentRead an XML file and return a DOMprivate voidSave an XML(SVG) fileprivate voidSave an XML(SVG) fileprivate voidEmbedAndCrop.SVGToStream(Document dom, OutputStream os) Push XML(SVG) to a streamvoidEmbedAndCrop.test()