| java.lang.Object com.lowagie.text.Rectangle com.lowagie.text.Image com.lowagie.text.Jpeg
Jpeg | public class Jpeg extends Image (Code) | | An Jpeg is the representation of a graphic element (JPEG)
that has to be inserted into the document
See Also: Element See Also: Image |
Constructor Summary | |
| Jpeg(Image image) | public | Jpeg(URL url) Constructs a Jpeg -object, using an url. | public | Jpeg(byte[] img) Constructs a Jpeg -object from memory. | public | Jpeg(byte[] img, float width, float height) Constructs a Jpeg -object from memory. |
JFIF_ID | final public static byte JFIF_ID(Code) | | sequence that is used in all Jpeg files
|
M_APP0 | final public static int M_APP0(Code) | | Marker value
|
M_APP2 | final public static int M_APP2(Code) | | Marker value
|
M_APPE | final public static int M_APPE(Code) | | Marker value
|
NOPARAM_MARKER | final public static int NOPARAM_MARKER(Code) | | This is a type of marker.
|
NOPARAM_MARKERS | final public static int[] NOPARAM_MARKERS(Code) | | Jpeg markers without additional parameters.
|
NOT_A_MARKER | final public static int NOT_A_MARKER(Code) | | This is a type of marker.
|
UNSUPPORTED_MARKER | final public static int UNSUPPORTED_MARKER(Code) | | This is a type of marker.
|
UNSUPPORTED_MARKERS | final public static int[] UNSUPPORTED_MARKERS(Code) | | Unsupported Jpeg markers.
|
VALID_MARKER | final public static int VALID_MARKER(Code) | | This is a type of marker.
|
VALID_MARKERS | final public static int[] VALID_MARKERS(Code) | | Acceptable Jpeg markers.
|
Jpeg | public Jpeg(byte[] img, float width, float height) throws BadElementException, IOException(Code) | | Constructs a Jpeg -object from memory.
Parameters: img - the memory image. Parameters: width - the width you want the image to have Parameters: height - the height you want the image to have throws: BadElementException - throws: IOException - |
Methods inherited from com.lowagie.text.Image | public float absoluteX()(Code)(Java Doc) public float absoluteY()(Code)(Java Doc) public int alignment()(Code)(Java Doc) public String alt()(Code)(Java Doc) public Annotation annotation()(Code)(Java Doc) public int bpc()(Code)(Java Doc) public int colorspace()(Code)(Java Doc) public float getAbsoluteX()(Code)(Java Doc) public float getAbsoluteY()(Code)(Java Doc) public PdfDictionary getAdditional()(Code)(Java Doc) public int getAlignment()(Code)(Java Doc) public String getAlt()(Code)(Java Doc) public Annotation getAnnotation()(Code)(Java Doc) public int getBpc()(Code)(Java Doc) public int getColorspace()(Code)(Java Doc) public PdfIndirectReference getDirectReference()(Code)(Java Doc) public int getDpiX()(Code)(Java Doc) public int getDpiY()(Code)(Java Doc) public ICC_Profile getICCProfile()(Code)(Java Doc) public Image getImageMask()(Code)(Java Doc) public float getImageRotation()(Code)(Java Doc) public float getIndentationLeft()(Code)(Java Doc) public float getIndentationRight()(Code)(Java Doc) public float getInitialRotation()(Code)(Java Doc) public static Image getInstance(URL url) throws BadElementException, MalformedURLException, IOException(Code)(Java Doc) public static Image getInstance(String filename) throws BadElementException, MalformedURLException, IOException(Code)(Java Doc) public static Image getInstance(byte imgb) throws BadElementException, MalformedURLException, IOException(Code)(Java Doc) public static Image getInstance(int width, int height, int components, int bpc, byte data) throws BadElementException(Code)(Java Doc) public static Image getInstance(int width, int height, boolean reverseBits, int typeCCITT, int parameters, byte[] data) throws BadElementException(Code)(Java Doc) public static Image getInstance(int width, int height, boolean reverseBits, int typeCCITT, int parameters, byte[] data, int transparency) throws BadElementException(Code)(Java Doc) public static Image getInstance(int width, int height, int components, int bpc, byte data, int transparency) throws BadElementException(Code)(Java Doc) public static Image getInstance(PdfTemplate template) throws BadElementException(Code)(Java Doc) public static Image getInstance(java.awt.Image image, java.awt.Color color, boolean forceBW) throws BadElementException, IOException(Code)(Java Doc) public static Image getInstance(java.awt.Image image, java.awt.Color color) throws BadElementException, IOException(Code)(Java Doc) public static Image getInstance(PdfWriter writer, java.awt.Image awtImage, float quality) throws BadElementException, IOException(Code)(Java Doc) public static Image getInstance(PdfContentByte cb, java.awt.Image awtImage, float quality) throws BadElementException, IOException(Code)(Java Doc) public static Image getInstance(PRIndirectReference ref) throws BadElementException(Code)(Java Doc) public static Image getInstance(Image image)(Code)(Java Doc) public static Image getInstance(java.util.Properties attributes) throws BadElementException, MalformedURLException, IOException(Code)(Java Doc) public PdfOCG getLayer()(Code)(Java Doc) public Long getMySerialId()(Code)(Java Doc) public byte[] getOriginalData()(Code)(Java Doc) public int getOriginalType()(Code)(Java Doc) public float getPlainHeight()(Code)(Java Doc) public float getPlainWidth()(Code)(Java Doc) public byte[] getRawData()(Code)(Java Doc) public float getScaledHeight()(Code)(Java Doc) public float getScaledWidth()(Code)(Java Doc) protected static synchronized Long getSerialId()(Code)(Java Doc) public float getSpacingAfter()(Code)(Java Doc) public float getSpacingBefore()(Code)(Java Doc) public PdfTemplate getTemplateData()(Code)(Java Doc) public int[] getTransparency()(Code)(Java Doc) public URL getUrl()(Code)(Java Doc) public float getWidthPercentage()(Code)(Java Doc) public float getXYRatio()(Code)(Java Doc) public boolean hasAbsolutePosition()(Code)(Java Doc) public boolean hasAbsoluteX()(Code)(Java Doc) public boolean hasAbsoluteY()(Code)(Java Doc) public boolean hasICCProfile()(Code)(Java Doc) public float indentationLeft()(Code)(Java Doc) public float indentationRight()(Code)(Java Doc) public boolean isDeflated()(Code)(Java Doc) public boolean isImgRaw()(Code)(Java Doc) public boolean isImgTemplate()(Code)(Java Doc) public boolean isInterpolation()(Code)(Java Doc) public boolean isInvertMask()(Code)(Java Doc) public boolean isInverted()(Code)(Java Doc) public boolean isJpeg()(Code)(Java Doc) public boolean isMask()(Code)(Java Doc) public boolean isMaskCandidate()(Code)(Java Doc) public boolean isSmask()(Code)(Java Doc) public void makeMask() throws DocumentException(Code)(Java Doc) public float[] matrix()(Code)(Java Doc) public float plainHeight()(Code)(Java Doc) public float plainWidth()(Code)(Java Doc) public byte[] rawData()(Code)(Java Doc) public void scaleAbsolute(float newWidth, float newHeight)(Code)(Java Doc) public void scaleAbsoluteHeight(float newHeight)(Code)(Java Doc) public void scaleAbsoluteWidth(float newWidth)(Code)(Java Doc) public void scalePercent(float percent)(Code)(Java Doc) public void scalePercent(float percentX, float percentY)(Code)(Java Doc) public void scaleToFit(float fitWidth, float fitHeight)(Code)(Java Doc) public float scaledHeight()(Code)(Java Doc) public float scaledWidth()(Code)(Java Doc) public void setAbsolutePosition(float absoluteX, float absoluteY)(Code)(Java Doc) public void setAdditional(PdfDictionary additional)(Code)(Java Doc) public void setAlignment(int alignment)(Code)(Java Doc) public void setAlt(String alt)(Code)(Java Doc) public void setAnnotation(Annotation annotation)(Code)(Java Doc) public void setDeflated(boolean deflated)(Code)(Java Doc) public void setDirectReference(PdfIndirectReference directReference)(Code)(Java Doc) public void setDpi(int dpiX, int dpiY)(Code)(Java Doc) public void setImageMask(Image mask) throws DocumentException(Code)(Java Doc) public void setIndentationLeft(float f)(Code)(Java Doc) public void setIndentationRight(float f)(Code)(Java Doc) public void setInitialRotation(float initialRotation)(Code)(Java Doc) public void setInterpolation(boolean interpolation)(Code)(Java Doc) public void setInvertMask(boolean invert)(Code)(Java Doc) public void setInverted(boolean invert)(Code)(Java Doc) public void setLayer(PdfOCG layer)(Code)(Java Doc) public void setOriginalData(byte[] originalData)(Code)(Java Doc) public void setOriginalType(int originalType)(Code)(Java Doc) public void setRotation(float r)(Code)(Java Doc) public void setRotationDegrees(float deg)(Code)(Java Doc) public void setSmask(boolean smask)(Code)(Java Doc) public void setSpacingAfter(float spacing)(Code)(Java Doc) public void setSpacingBefore(float spacing)(Code)(Java Doc) public void setTemplateData(PdfTemplate template)(Code)(Java Doc) public void setTransparency(int transparency)(Code)(Java Doc) public void setUrl(URL url)(Code)(Java Doc) public void setWidthPercentage(float widthPercentage)(Code)(Java Doc) public void setXYRatio(float XYRatio)(Code)(Java Doc) public void simplifyColorspace()(Code)(Java Doc) public float spacingAfter()(Code)(Java Doc) public float spacingBefore()(Code)(Java Doc) public void tagICC(ICC_Profile profile)(Code)(Java Doc) public PdfTemplate templateData()(Code)(Java Doc) public int type()(Code)(Java Doc) public URL url()(Code)(Java Doc)
|
|
|