Tabnine Logo
SVGConverter.setQuality
Code IndexAdd Tabnine to your IDE (free)

How to use
setQuality
method
in
org.apache.batik.apps.rasterizer.SVGConverter

Best Java code snippets using org.apache.batik.apps.rasterizer.SVGConverter.setQuality (Showing top 3 results out of 315)

origin: fr.avianey.apache-xmlgraphics/batik

public void handleOption(float optionValue,
             SVGConverter c){
  if (optionValue <= 0 || optionValue >= 1){
    throw new IllegalArgumentException();
  }
  c.setQuality(optionValue);
}
origin: org.apache.xmlgraphics/batik-svgrasterizer

public void handleOption(float optionValue,
             SVGConverter c){
  if (optionValue <= 0 || optionValue >= 1){
    throw new IllegalArgumentException();
  }
  c.setQuality(optionValue);
}
origin: apache/batik

public void handleOption(float optionValue,
             SVGConverter c){
  if (optionValue <= 0 || optionValue >= 1){
    throw new IllegalArgumentException();
  }
  c.setQuality(optionValue);
}
org.apache.batik.apps.rasterizerSVGConvertersetQuality

Javadoc

Sets the JPEG encoding quality. The value should be strictly less than 1. If the value is less than zero, then the maximum encoding quality is used.

Popular methods of SVGConverter

  • <init>
  • execute
    Starts the conversion process.
  • setDestinationType
    Sets the destinationType attribute value. Should not be null.
  • setDst
    When converting a single source, dst can be a file. Othewise, it should be a directory.
  • setHeight
    In less than or equal to zero, the height is not constrained on the output image. The height is in u
  • setSources
    Sets the list of individual SVG sources. The strings can be either URLs or file names. Note that inv
  • setWidth
    In less than or equal to zero, the width is not constrained on the output image. The width is in use
  • computeDstFiles
    Populates a vector with destination files names computed from the names of the files in the sources
  • computeSources
    Populates a vector with the set of SVG files from the srcDir if it is not null and with the sources
  • computeTranscodingHints
    Computes the set of transcoding hints to use for the operation
  • createOutputDir
    Creates directories for output files if needed.
  • getDestinationFile
    Get the name of the result image file.This method modifies the result filename, it changes the exist
  • createOutputDir,
  • getDestinationFile,
  • getFileNRef,
  • getSecurityOff,
  • isFile,
  • isWriteable,
  • setAllowedScriptTypes,
  • setAlternateStylesheet,
  • setArea,
  • setBackgroundColor

Popular in Java

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Option (scala)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now