Home » iText-2.1.7 » com.lowagie » text » [javadoc | source]
com.lowagie.text
public class: Jpeg [javadoc | source]
java.lang.Object
   com.lowagie.text.Rectangle
      com.lowagie.text.Image
         com.lowagie.text.Jpeg

All Implemented Interfaces:
    Element

An Jpeg is the representation of a graphic element (JPEG) that has to be inserted into the document
Field Summary
public static final  int NOT_A_MARKER    This is a type of marker. 
public static final  int VALID_MARKER    This is a type of marker. 
public static final  int[] VALID_MARKERS    Acceptable Jpeg markers. 
public static final  int UNSUPPORTED_MARKER    This is a type of marker. 
public static final  int[] UNSUPPORTED_MARKERS    Unsupported Jpeg markers. 
public static final  int NOPARAM_MARKER    This is a type of marker. 
public static final  int[] NOPARAM_MARKERS    Jpeg markers without additional parameters. 
public static final  int M_APP0    Marker value 
public static final  int M_APP2    Marker value 
public static final  int M_APPE    Marker value 
public static final  byte[] JFIF_ID    sequence that is used in all Jpeg files 
Fields inherited from com.lowagie.text.Image:
DEFAULT,  RIGHT,  LEFT,  MIDDLE,  TEXTWRAP,  UNDERLYING,  AX,  AY,  BX,  BY,  CX,  CY,  DX,  DY,  ORIGINAL_NONE,  ORIGINAL_JPEG,  ORIGINAL_PNG,  ORIGINAL_GIF,  ORIGINAL_BMP,  ORIGINAL_TIFF,  ORIGINAL_WMF,  ORIGINAL_PS,  ORIGINAL_JPEG2000,  ORIGINAL_JBIG2,  type,  url,  rawData,  bpc,  template,  alignment,  alt,  absoluteX,  absoluteY,  plainWidth,  plainHeight,  scaledWidth,  scaledHeight,  compressionLevel,  mySerialId,  serialId,  rotationRadians,  indentationLeft,  indentationRight,  spacingBefore,  spacingAfter,  annotation,  layer,  interpolation,  originalType,  originalData,  deflated,  dpiX,  dpiY,  colorspace,  invert,  profile,  mask,  imageMask,  transparency
Fields inherited from com.lowagie.text.Rectangle:
UNDEFINED,  TOP,  BOTTOM,  LEFT,  RIGHT,  NO_BORDER,  BOX,  llx,  lly,  urx,  ury,  rotation,  backgroundColor,  border,  useVariableBorders,  borderWidth,  borderWidthLeft,  borderWidthRight,  borderWidthTop,  borderWidthBottom,  borderColor,  borderColorLeft,  borderColorRight,  borderColorTop,  borderColorBottom
Constructor:
 Jpeg(Image image) 
 public Jpeg(URL url) throws BadElementException, IOException 
    Constructs a Jpeg-object, using an url.
    Parameters:
    url - the URL where the image can be found
    Throws:
    BadElementException -
    IOException -
 public Jpeg(byte[] img) throws BadElementException, IOException 
    Constructs a Jpeg-object from memory.
    Parameters:
    img - the memory image
    Throws:
    BadElementException -
    IOException -
 public Jpeg(byte[] img,
    float width,
    float height) throws BadElementException, IOException 
    Constructs a Jpeg-object from memory.
    Parameters:
    img - the memory image.
    width - the width you want the image to have
    height - the height you want the image to have
    Throws:
    BadElementException -
    IOException -
Methods from com.lowagie.text.Image:
getAbsoluteX,   getAbsoluteY,   getAdditional,   getAlignment,   getAlt,   getAnnotation,   getBpc,   getColorspace,   getCompressionLevel,   getDirectReference,   getDpiX,   getDpiY,   getICCProfile,   getImageMask,   getImageRotation,   getIndentationLeft,   getIndentationRight,   getInitialRotation,   getInstance,   getInstance,   getInstance,   getInstance,   getInstance,   getInstance,   getInstance,   getInstance,   getInstance,   getInstance,   getInstance,   getInstance,   getInstance,   getInstance,   getInstance,   getLayer,   getMySerialId,   getOriginalData,   getOriginalType,   getPlainHeight,   getPlainWidth,   getRawData,   getScaledHeight,   getScaledWidth,   getSerialId,   getSpacingAfter,   getSpacingBefore,   getTemplateData,   getTransparency,   getUrl,   getWidthPercentage,   getXYRatio,   hasAbsoluteX,   hasAbsoluteY,   hasICCProfile,   isDeflated,   isImgRaw,   isImgTemplate,   isInterpolation,   isInverted,   isJpeg,   isMask,   isMaskCandidate,   isNestable,   isSmask,   makeMask,   matrix,   scaleAbsolute,   scaleAbsoluteHeight,   scaleAbsoluteWidth,   scalePercent,   scalePercent,   scaleToFit,   setAbsolutePosition,   setAdditional,   setAlignment,   setAlt,   setAnnotation,   setCompressionLevel,   setDeflated,   setDirectReference,   setDpi,   setImageMask,   setIndentationLeft,   setIndentationRight,   setInitialRotation,   setInterpolation,   setInverted,   setLayer,   setOriginalData,   setOriginalType,   setRotation,   setRotationDegrees,   setSmask,   setSpacingAfter,   setSpacingBefore,   setTemplateData,   setTransparency,   setUrl,   setWidthPercentage,   setXYRatio,   simplifyColorspace,   tagICC,   type
Methods from com.lowagie.text.Rectangle:
cloneNonPositionParameters,   disableBorderSide,   enableBorderSide,   getBackgroundColor,   getBorder,   getBorderColor,   getBorderColorBottom,   getBorderColorLeft,   getBorderColorRight,   getBorderColorTop,   getBorderWidth,   getBorderWidthBottom,   getBorderWidthLeft,   getBorderWidthRight,   getBorderWidthTop,   getBottom,   getBottom,   getChunks,   getGrayFill,   getHeight,   getLeft,   getLeft,   getRight,   getRight,   getRotation,   getTop,   getTop,   getWidth,   hasBorder,   hasBorders,   isContent,   isNestable,   isUseVariableBorders,   normalize,   process,   rectangle,   rotate,   setBackgroundColor,   setBorder,   setBorderColor,   setBorderColorBottom,   setBorderColorLeft,   setBorderColorRight,   setBorderColorTop,   setBorderWidth,   setBorderWidthBottom,   setBorderWidthLeft,   setBorderWidthRight,   setBorderWidthTop,   setBottom,   setGrayFill,   setLeft,   setRight,   setTop,   setUseVariableBorders,   softCloneNonPositionParameters,   toString,   type
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait