Codota Logo
PNGEncodeParam$Gray.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.apache.batik.ext.awt.image.codec.png.PNGEncodeParam$Gray
constructor

Best Java code snippets using org.apache.batik.ext.awt.image.codec.png.PNGEncodeParam$Gray.<init> (Showing top 20 results out of 315)

  • Common ways to obtain PNGEncodeParam$Gray
private void myMethod () {
PNGEncodeParam$Gray p =
  • Codota Iconnew PNGEncodeParam.Gray()
  • Smart code suggestions by Codota
}
origin: fr.avianey.apache-xmlgraphics/batik

} else if (colorType == PNG_COLOR_GRAY ||
      colorType == PNG_COLOR_GRAY_ALPHA) {
  encodeParam = new PNGEncodeParam.Gray();
} else {
  encodeParam = new PNGEncodeParam.RGB();
origin: liuyueyi/quick-media

} else if (colorType == PNG_COLOR_GRAY ||
      colorType == PNG_COLOR_GRAY_ALPHA) {
  encodeParam = new PNGEncodeParam.Gray();
} else {
  encodeParam = new PNGEncodeParam.RGB();
origin: liuyueyi/quick-media

} else if (colorType == PNG_COLOR_GRAY ||
      colorType == PNG_COLOR_GRAY_ALPHA) {
  encodeParam = new PNGEncodeParam.Gray();
} else {
  encodeParam = new PNGEncodeParam.RGB();
origin: liuyueyi/quick-media

  return new PNGEncodeParam.Gray();
} else {
  return new PNGEncodeParam.RGB();
origin: org.apache.xmlgraphics/batik-codec

                    byte[] bluePalette,
                    byte[] alphaPalette) {
PNGEncodeParam.Gray param = new PNGEncodeParam.Gray();
int numTransparent = 0;
origin: apache/batik

                    byte[] bluePalette,
                    byte[] alphaPalette) {
PNGEncodeParam.Gray param = new PNGEncodeParam.Gray();
int numTransparent = 0;
origin: org.apache.xmlgraphics/batik-codec

param = new PNGEncodeParam.Gray();
param = new PNGEncodeParam.Gray();
origin: apache/batik

  return new PNGEncodeParam.Gray();
} else {
  return new PNGEncodeParam.RGB();
origin: org.apache.xmlgraphics/batik-codec

} else if (colorType == PNG_COLOR_GRAY ||
      colorType == PNG_COLOR_GRAY_ALPHA) {
  encodeParam = new PNGEncodeParam.Gray();
} else {
  encodeParam = new PNGEncodeParam.RGB();
origin: apache/batik

} else if (colorType == PNG_COLOR_GRAY ||
      colorType == PNG_COLOR_GRAY_ALPHA) {
  encodeParam = new PNGEncodeParam.Gray();
} else {
  encodeParam = new PNGEncodeParam.RGB();
origin: liuyueyi/quick-media

param = new PNGEncodeParam.Gray();
param = new PNGEncodeParam.Gray();
origin: fr.avianey.apache-xmlgraphics/batik

                    byte[] bluePalette,
                    byte[] alphaPalette) {
PNGEncodeParam.Gray param = new PNGEncodeParam.Gray();
int numTransparent = 0;
origin: apache/batik

} else if (colorType == PNG_COLOR_GRAY ||
      colorType == PNG_COLOR_GRAY_ALPHA) {
  encodeParam = new PNGEncodeParam.Gray();
} else {
  encodeParam = new PNGEncodeParam.RGB();
origin: liuyueyi/quick-media

                    byte[] bluePalette,
                    byte[] alphaPalette) {
PNGEncodeParam.Gray param = new PNGEncodeParam.Gray();
int numTransparent = 0;
origin: org.apache.xmlgraphics/batik-codec

} else if (colorType == PNG_COLOR_GRAY ||
      colorType == PNG_COLOR_GRAY_ALPHA) {
  encodeParam = new PNGEncodeParam.Gray();
} else {
  encodeParam = new PNGEncodeParam.RGB();
origin: org.apache.xmlgraphics/batik-codec

  return new PNGEncodeParam.Gray();
} else {
  return new PNGEncodeParam.RGB();
origin: fr.avianey.apache-xmlgraphics/batik

} else if (colorType == PNG_COLOR_GRAY ||
      colorType == PNG_COLOR_GRAY_ALPHA) {
  encodeParam = new PNGEncodeParam.Gray();
} else {
  encodeParam = new PNGEncodeParam.RGB();
origin: fr.avianey.apache-xmlgraphics/batik

  return new PNGEncodeParam.Gray();
} else {
  return new PNGEncodeParam.RGB();
origin: apache/batik

param = new PNGEncodeParam.Gray();
param = new PNGEncodeParam.Gray();
origin: fr.avianey.apache-xmlgraphics/batik

param = new PNGEncodeParam.Gray();
param = new PNGEncodeParam.Gray();
org.apache.batik.ext.awt.image.codec.pngPNGEncodeParam$Gray<init>

Javadoc

Constructs an instance of PNGEncodeParam.Gray.

Popular methods of PNGEncodeParam$Gray

  • getBackgroundGray
    Returns the suggested gray level of the background. If the background gray level has not previously
  • getBitDepth
  • getBitShift
    Returns the desired bit shift for a grayscale image. If the bit shift has not previously been set, o
  • getTransparentGray
    Returns the gray value to be used to denote transparency. If the transparent gray value has not prev
  • isBitDepthSet
    Returns true if the bit depth has been set.
  • isBitShiftSet
    Returns true if the bit shift has been set.
  • setBackgroundGray
    Sets the suggested gray level of the background. The 'bKGD' chunk will encode this information.
  • setTransparentGray
    Sets the gray value to be used to denote transparency. Setting this attribute will cause the alpha c

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getExternalFilesDir (Context)
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • ImageIO (javax.imageio)
  • JList (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now