572 lines
24 KiB
HTML
572 lines
24 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
<!--NewPage-->
|
||
<HTML>
|
||
<HEAD>
|
||
<!-- Generated by javadoc (build 1.5.0_02) on Tue Dec 06 23:00:05 CET 2005 -->
|
||
<TITLE>
|
||
Image
|
||
</TITLE>
|
||
|
||
<META NAME="keywords" CONTENT="com.pdftools.expa.Image class">
|
||
|
||
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
||
|
||
<SCRIPT type="text/javascript">
|
||
function windowTitle()
|
||
{
|
||
parent.document.title="Image";
|
||
}
|
||
</SCRIPT>
|
||
<NOSCRIPT>
|
||
</NOSCRIPT>
|
||
|
||
</HEAD>
|
||
|
||
<BODY BGCOLOR="white" onload="windowTitle();">
|
||
|
||
|
||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||
<A NAME="navbar_top"><!-- --></A>
|
||
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||
<TR>
|
||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||
<TR ALIGN="center" VALIGN="top">
|
||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||
</TR>
|
||
</TABLE>
|
||
</TD>
|
||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||
</EM>
|
||
</TD>
|
||
</TR>
|
||
|
||
<TR>
|
||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
<A HREF="../../../com/pdftools/expa/GraphicsState.html" title="class in com.pdftools.expa"><B>PREV CLASS</B></A>
|
||
<A HREF="../../../com/pdftools/expa/OutlineItem.html" title="class in com.pdftools.expa"><B>NEXT CLASS</B></A></FONT></TD>
|
||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
<A HREF="../../../index.html?com/pdftools/expa/Image.html" target="_top"><B>FRAMES</B></A>
|
||
<A HREF="Image.html" target="_top"><B>NO FRAMES</B></A>
|
||
<SCRIPT type="text/javascript">
|
||
<!--
|
||
if(window==top) {
|
||
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
}
|
||
//-->
|
||
</SCRIPT>
|
||
<NOSCRIPT>
|
||
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
||
</NOSCRIPT>
|
||
|
||
|
||
</FONT></TD>
|
||
</TR>
|
||
<TR>
|
||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||
SUMMARY: <A HREF="#nested_classes_inherited_from_class_com.pdftools.expa.ExpaInitialize">NESTED</A> | <A HREF="#fields_inherited_from_class_com.pdftools.NativeLibrary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||
</TR>
|
||
</TABLE>
|
||
<A NAME="skip-navbar_top"></A>
|
||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||
|
||
<HR>
|
||
<!-- ======== START OF CLASS DATA ======== -->
|
||
<H2>
|
||
<FONT SIZE="-1">
|
||
com.pdftools.expa</FONT>
|
||
<BR>
|
||
Class Image</H2>
|
||
<PRE>
|
||
java.lang.Object
|
||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/pdftools/NativeLibrary.html" title="class in com.pdftools">com.pdftools.NativeLibrary</A>
|
||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/pdftools/expa/ExpaInitialize.html" title="class in com.pdftools.expa">com.pdftools.expa.ExpaInitialize</A>
|
||
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.pdftools.expa.Image</B>
|
||
</PRE>
|
||
<HR>
|
||
<DL>
|
||
<DT><PRE>public class <B>Image</B><DT>extends <A HREF="../../../com/pdftools/expa/ExpaInitialize.html" title="class in com.pdftools.expa">ExpaInitialize</A></DL>
|
||
</PRE>
|
||
|
||
<P>
|
||
<HR>
|
||
|
||
<P>
|
||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||
|
||
<A NAME="nested_class_summary"><!-- --></A>
|
||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||
<B>Nested Class Summary</B></FONT></TH>
|
||
</TR>
|
||
</TABLE>
|
||
<A NAME="nested_classes_inherited_from_class_com.pdftools.expa.ExpaInitialize"><!-- --></A>
|
||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.pdftools.expa.<A HREF="../../../com/pdftools/expa/ExpaInitialize.html" title="class in com.pdftools.expa">ExpaInitialize</A></B></TH>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD><CODE><A HREF="../../../com/pdftools/expa/ExpaInitialize.CONTENTOBJECT.html" title="class in com.pdftools.expa">ExpaInitialize.CONTENTOBJECT</A>, <A HREF="../../../com/pdftools/expa/ExpaInitialize.ORIENTATION.html" title="class in com.pdftools.expa">ExpaInitialize.ORIENTATION</A>, <A HREF="../../../com/pdftools/expa/ExpaInitialize.Rectangle.html" title="class in com.pdftools.expa">ExpaInitialize.Rectangle</A>, <A HREF="../../../com/pdftools/expa/ExpaInitialize.TransformMatrix.html" title="class in com.pdftools.expa">ExpaInitialize.TransformMatrix</A></CODE></TD>
|
||
</TR>
|
||
</TABLE>
|
||
|
||
<A NAME="nested_classes_inherited_from_class_com.pdftools.NativeLibrary"><!-- --></A>
|
||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.pdftools.<A HREF="../../../com/pdftools/NativeLibrary.html" title="class in com.pdftools">NativeLibrary</A></B></TH>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD><CODE><A HREF="../../../com/pdftools/NativeLibrary.COLORCONVERSION.html" title="class in com.pdftools">NativeLibrary.COLORCONVERSION</A>, <A HREF="../../../com/pdftools/NativeLibrary.COLORSPACE.html" title="class in com.pdftools">NativeLibrary.COLORSPACE</A>, <A HREF="../../../com/pdftools/NativeLibrary.COMPRESSION.html" title="class in com.pdftools">NativeLibrary.COMPRESSION</A>, <A HREF="../../../com/pdftools/NativeLibrary.DITHERINGMODE.html" title="class in com.pdftools">NativeLibrary.DITHERINGMODE</A>, <A HREF="../../../com/pdftools/NativeLibrary.ERRORCODE.html" title="class in com.pdftools">NativeLibrary.ERRORCODE</A>, <A HREF="../../../com/pdftools/NativeLibrary.FONTTYPE.html" title="class in com.pdftools">NativeLibrary.FONTTYPE</A>, <A HREF="../../../com/pdftools/NativeLibrary.PERMISSION.html" title="class in com.pdftools">NativeLibrary.PERMISSION</A>, <A HREF="../../../com/pdftools/NativeLibrary.RENDEREROPTION.html" title="class in com.pdftools">NativeLibrary.RENDEREROPTION</A>, <A HREF="../../../com/pdftools/NativeLibrary.RENDERINGMODE.html" title="class in com.pdftools">NativeLibrary.RENDERINGMODE</A>, <A HREF="../../../com/pdftools/NativeLibrary.ROTATEMODE.html" title="class in com.pdftools">NativeLibrary.ROTATEMODE</A>, <A HREF="../../../com/pdftools/NativeLibrary.STRIPTYPE.html" title="class in com.pdftools">NativeLibrary.STRIPTYPE</A></CODE></TD>
|
||
</TR>
|
||
</TABLE>
|
||
|
||
<!-- =========== FIELD SUMMARY =========== -->
|
||
|
||
<A NAME="field_summary"><!-- --></A>
|
||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||
<B>Field Summary</B></FONT></TH>
|
||
</TR>
|
||
</TABLE>
|
||
<A NAME="fields_inherited_from_class_com.pdftools.NativeLibrary"><!-- --></A>
|
||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
<TH ALIGN="left"><B>Fields inherited from class com.pdftools.<A HREF="../../../com/pdftools/NativeLibrary.html" title="class in com.pdftools">NativeLibrary</A></B></TH>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD><CODE><A HREF="../../../com/pdftools/NativeLibrary.html#VERSION">VERSION</A></CODE></TD>
|
||
</TR>
|
||
</TABLE>
|
||
|
||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
|
||
<A NAME="constructor_summary"><!-- --></A>
|
||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||
<B>Constructor Summary</B></FONT></TH>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD><CODE><B><A HREF="../../../com/pdftools/expa/Image.html#Image()">Image</A></B>()</CODE>
|
||
|
||
<BR>
|
||
</TD>
|
||
</TR>
|
||
</TABLE>
|
||
|
||
<!-- ========== METHOD SUMMARY =========== -->
|
||
|
||
<A NAME="method_summary"><!-- --></A>
|
||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||
<B>Method Summary</B></FONT></TH>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
<CODE> boolean</CODE></FONT></TD>
|
||
<TD><CODE><B><A HREF="../../../com/pdftools/expa/Image.html#changeOrientation(int)">changeOrientation</A></B>(int iOrientation)</CODE>
|
||
|
||
<BR>
|
||
change image according to the specified orientation.</TD>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
<CODE> boolean</CODE></FONT></TD>
|
||
<TD><CODE><B><A HREF="../../../com/pdftools/expa/Image.html#convertToRGB()">convertToRGB</A></B>()</CODE>
|
||
|
||
<BR>
|
||
convert image to RGB;</TD>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
<CODE> <A HREF="../../../com/pdftools/expa/AlternateImageArray.html" title="class in com.pdftools.expa">AlternateImageArray</A></CODE></FONT></TD>
|
||
<TD><CODE><B><A HREF="../../../com/pdftools/expa/Image.html#getAlternates()">getAlternates</A></B>()</CODE>
|
||
|
||
<BR>
|
||
get the alternative images.</TD>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
<CODE> int</CODE></FONT></TD>
|
||
<TD><CODE><B><A HREF="../../../com/pdftools/expa/Image.html#getBitsPerComponent()">getBitsPerComponent</A></B>()</CODE>
|
||
|
||
<BR>
|
||
get the number of bits that are used to represent a single color component.</TD>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
<CODE> <A HREF="../../../com/pdftools/expa/ColorSpace.html" title="class in com.pdftools.expa">ColorSpace</A></CODE></FONT></TD>
|
||
<TD><CODE><B><A HREF="../../../com/pdftools/expa/Image.html#getColorSpace()">getColorSpace</A></B>()</CODE>
|
||
|
||
<BR>
|
||
get color space information for the image.</TD>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
<CODE> int</CODE></FONT></TD>
|
||
<TD><CODE><B><A HREF="../../../com/pdftools/expa/Image.html#getHeight()">getHeight</A></B>()</CODE>
|
||
|
||
<BR>
|
||
get the height of the image in pixels.</TD>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
<CODE> byte[]</CODE></FONT></TD>
|
||
<TD><CODE><B><A HREF="../../../com/pdftools/expa/Image.html#getImage()">getImage</A></B>()</CODE>
|
||
|
||
<BR>
|
||
get the Image in memory as byte array.</TD>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
<CODE> byte[]</CODE></FONT></TD>
|
||
<TD><CODE><B><A HREF="../../../com/pdftools/expa/Image.html#getMask()">getMask</A></B>()</CODE>
|
||
|
||
<BR>
|
||
get the image<67>s explicit mask.</TD>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
<CODE> byte[]</CODE></FONT></TD>
|
||
<TD><CODE><B><A HREF="../../../com/pdftools/expa/Image.html#getSamples()">getSamples</A></B>()</CODE>
|
||
|
||
<BR>
|
||
get the image<67>s data samples in a byte array.</TD>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
<CODE> int</CODE></FONT></TD>
|
||
<TD><CODE><B><A HREF="../../../com/pdftools/expa/Image.html#getWidth()">getWidth</A></B>()</CODE>
|
||
|
||
<BR>
|
||
get the width of the image in pixels.</TD>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
<CODE> boolean</CODE></FONT></TD>
|
||
<TD><CODE><B><A HREF="../../../com/pdftools/expa/Image.html#store(java.lang.String)">store</A></B>(java.lang.String strFileName)</CODE>
|
||
|
||
<BR>
|
||
store image in a file without compression;</TD>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
<CODE> boolean</CODE></FONT></TD>
|
||
<TD><CODE><B><A HREF="../../../com/pdftools/expa/Image.html#store(java.lang.String, int)">store</A></B>(java.lang.String strFileName,
|
||
int iCompression)</CODE>
|
||
|
||
<BR>
|
||
store image in a file;</TD>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
<CODE> boolean</CODE></FONT></TD>
|
||
<TD><CODE><B><A HREF="../../../com/pdftools/expa/Image.html#storeInMemory(java.lang.String, int)">storeInMemory</A></B>(java.lang.String strExtension,
|
||
int iCompression)</CODE>
|
||
|
||
<BR>
|
||
store image in Memory.</TD>
|
||
</TR>
|
||
</TABLE>
|
||
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||
</TR>
|
||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||
</TR>
|
||
</TABLE>
|
||
|
||
<P>
|
||
|
||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
|
||
<A NAME="constructor_detail"><!-- --></A>
|
||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||
<B>Constructor Detail</B></FONT></TH>
|
||
</TR>
|
||
</TABLE>
|
||
|
||
<A NAME="Image()"><!-- --></A><H3>
|
||
Image</H3>
|
||
<PRE>
|
||
public <B>Image</B>()</PRE>
|
||
<DL>
|
||
</DL>
|
||
|
||
<!-- ============ METHOD DETAIL ========== -->
|
||
|
||
<A NAME="method_detail"><!-- --></A>
|
||
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||
<B>Method Detail</B></FONT></TH>
|
||
</TR>
|
||
</TABLE>
|
||
|
||
<A NAME="getWidth()"><!-- --></A><H3>
|
||
getWidth</H3>
|
||
<PRE>
|
||
public int <B>getWidth</B>()</PRE>
|
||
<DL>
|
||
<DD>get the width of the image in pixels.
|
||
<P>
|
||
<DD><DL>
|
||
|
||
<DT><B>Returns:</B><DD>the width of the image in pixels (also called samples). The unit of pixels can be converted
|
||
to a distance unit such as inch, millimeters etc. using a resolution value, i.e. 72 dpi (dots per inch).</DL>
|
||
</DD>
|
||
</DL>
|
||
<HR>
|
||
|
||
<A NAME="getHeight()"><!-- --></A><H3>
|
||
getHeight</H3>
|
||
<PRE>
|
||
public int <B>getHeight</B>()</PRE>
|
||
<DL>
|
||
<DD>get the height of the image in pixels.
|
||
<P>
|
||
<DD><DL>
|
||
|
||
<DT><B>Returns:</B><DD>the height of the image in pixels (also called samples). The unit of pixels can be converted
|
||
to a distance unit such as inch, millimeters etc. using a resolution value, i.e. 72 dpi (dots per inch)</DL>
|
||
</DD>
|
||
</DL>
|
||
<HR>
|
||
|
||
<A NAME="getBitsPerComponent()"><!-- --></A><H3>
|
||
getBitsPerComponent</H3>
|
||
<PRE>
|
||
public int <B>getBitsPerComponent</B>()</PRE>
|
||
<DL>
|
||
<DD>get the number of bits that are used to represent a single color component.
|
||
<P>
|
||
<DD><DL>
|
||
|
||
<DT><B>Returns:</B><DD>the number of bits that are used to represent a single color component of an image sample.The number
|
||
of color components per image data sample can be retrieved through the image<67>s color space interface.</DL>
|
||
</DD>
|
||
</DL>
|
||
<HR>
|
||
|
||
<A NAME="getSamples()"><!-- --></A><H3>
|
||
getSamples</H3>
|
||
<PRE>
|
||
public byte[] <B>getSamples</B>()</PRE>
|
||
<DL>
|
||
<DD>get the image<67>s data samples in a byte array.
|
||
<P>
|
||
<DD><DL>
|
||
|
||
<DT><B>Returns:</B><DD>the image<67>s data samples in a byte array. The sample data is ordered by line from top to bottom and
|
||
within a line from left to right. The lines are byte aligned. If the number of bits per component is less than
|
||
one byte then the samples are ordered beginning with the most significant bit first.</DL>
|
||
</DD>
|
||
</DL>
|
||
<HR>
|
||
|
||
<A NAME="getMask()"><!-- --></A><H3>
|
||
getMask</H3>
|
||
<PRE>
|
||
public byte[] <B>getMask</B>()</PRE>
|
||
<DL>
|
||
<DD>get the image<67>s explicit mask.
|
||
<P>
|
||
<DD><DL>
|
||
|
||
<DT><B>Returns:</B><DD>the image<67>s explicit mask if available. The mask<73>s sample data is organized the same way as the image
|
||
data except that the data contains one bit per pixel. A one bit indicates an opaque pixel and a zero bit indicates
|
||
a transparent pixel.</DL>
|
||
</DD>
|
||
</DL>
|
||
<HR>
|
||
|
||
<A NAME="getColorSpace()"><!-- --></A><H3>
|
||
getColorSpace</H3>
|
||
<PRE>
|
||
public <A HREF="../../../com/pdftools/expa/ColorSpace.html" title="class in com.pdftools.expa">ColorSpace</A> <B>getColorSpace</B>()</PRE>
|
||
<DL>
|
||
<DD>get color space information for the image.
|
||
<P>
|
||
<DD><DL>
|
||
|
||
<DT><B>Returns:</B><DD>color space information for the image.</DL>
|
||
</DD>
|
||
</DL>
|
||
<HR>
|
||
|
||
<A NAME="convertToRGB()"><!-- --></A><H3>
|
||
convertToRGB</H3>
|
||
<PRE>
|
||
public boolean <B>convertToRGB</B>()</PRE>
|
||
<DL>
|
||
<DD>convert image to RGB;
|
||
<P>
|
||
<DD><DL>
|
||
|
||
<DT><B>Returns:</B><DD>non-zero on success; BitsPerComponent must be >= 8</DL>
|
||
</DD>
|
||
</DL>
|
||
<HR>
|
||
|
||
<A NAME="changeOrientation(int)"><!-- --></A><H3>
|
||
changeOrientation</H3>
|
||
<PRE>
|
||
public boolean <B>changeOrientation</B>(int iOrientation)</PRE>
|
||
<DL>
|
||
<DD>change image according to the specified orientation.
|
||
<P>
|
||
<DD><DL>
|
||
</DL>
|
||
</DD>
|
||
</DL>
|
||
<HR>
|
||
|
||
<A NAME="store(java.lang.String, int)"><!-- --></A><H3>
|
||
store</H3>
|
||
<PRE>
|
||
public boolean <B>store</B>(java.lang.String strFileName,
|
||
int iCompression)</PRE>
|
||
<DL>
|
||
<DD>store image in a file;
|
||
<P>
|
||
<DD><DL>
|
||
<DT><B>Parameters:</B><DD><CODE>strFileName</CODE> - The name of the disk file include path, drive.<DD><CODE>iCompression</CODE> - Compression type (refer to class COMPRESSION in NativeLibrary)
|
||
<DT><B>Returns:</B><DD>non-zero on success</DL>
|
||
</DD>
|
||
</DL>
|
||
<HR>
|
||
|
||
<A NAME="store(java.lang.String)"><!-- --></A><H3>
|
||
store</H3>
|
||
<PRE>
|
||
public boolean <B>store</B>(java.lang.String strFileName)</PRE>
|
||
<DL>
|
||
<DD>store image in a file without compression;
|
||
<P>
|
||
<DD><DL>
|
||
<DT><B>Parameters:</B><DD><CODE>strFileName</CODE> - The name of the disk file include path, drive.
|
||
<DT><B>Returns:</B><DD>non-zero on success</DL>
|
||
</DD>
|
||
</DL>
|
||
<HR>
|
||
|
||
<A NAME="storeInMemory(java.lang.String, int)"><!-- --></A><H3>
|
||
storeInMemory</H3>
|
||
<PRE>
|
||
public boolean <B>storeInMemory</B>(java.lang.String strExtension,
|
||
int iCompression)</PRE>
|
||
<DL>
|
||
<DD>store image in Memory.
|
||
<P>
|
||
<DD><DL>
|
||
<DT><B>Parameters:</B><DD><CODE>strExtension</CODE> - Extension of the image format.<DD><CODE>iCompression</CODE> - Compression type (refer to class COMPRESSION in NativeLibrary)
|
||
<DT><B>Returns:</B><DD>non-zero on success.</DL>
|
||
</DD>
|
||
</DL>
|
||
<HR>
|
||
|
||
<A NAME="getImage()"><!-- --></A><H3>
|
||
getImage</H3>
|
||
<PRE>
|
||
public byte[] <B>getImage</B>()</PRE>
|
||
<DL>
|
||
<DD>get the Image in memory as byte array.
|
||
<P>
|
||
<DD><DL>
|
||
|
||
<DT><B>Returns:</B><DD>the Image in memory as byte array.</DL>
|
||
</DD>
|
||
</DL>
|
||
<HR>
|
||
|
||
<A NAME="getAlternates()"><!-- --></A><H3>
|
||
getAlternates</H3>
|
||
<PRE>
|
||
public <A HREF="../../../com/pdftools/expa/AlternateImageArray.html" title="class in com.pdftools.expa">AlternateImageArray</A> <B>getAlternates</B>()</PRE>
|
||
<DL>
|
||
<DD>get the alternative images.
|
||
<P>
|
||
<DD><DL>
|
||
</DL>
|
||
</DD>
|
||
</DL>
|
||
<!-- ========= END OF CLASS DATA ========= -->
|
||
<HR>
|
||
|
||
|
||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
<A NAME="navbar_bottom"><!-- --></A>
|
||
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||
<TR>
|
||
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||
<TR ALIGN="center" VALIGN="top">
|
||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
||
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
||
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
||
</TR>
|
||
</TABLE>
|
||
</TD>
|
||
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
||
</EM>
|
||
</TD>
|
||
</TR>
|
||
|
||
<TR>
|
||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
<A HREF="../../../com/pdftools/expa/GraphicsState.html" title="class in com.pdftools.expa"><B>PREV CLASS</B></A>
|
||
<A HREF="../../../com/pdftools/expa/OutlineItem.html" title="class in com.pdftools.expa"><B>NEXT CLASS</B></A></FONT></TD>
|
||
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
<A HREF="../../../index.html?com/pdftools/expa/Image.html" target="_top"><B>FRAMES</B></A>
|
||
<A HREF="Image.html" target="_top"><B>NO FRAMES</B></A>
|
||
<SCRIPT type="text/javascript">
|
||
<!--
|
||
if(window==top) {
|
||
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
}
|
||
//-->
|
||
</SCRIPT>
|
||
<NOSCRIPT>
|
||
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
||
</NOSCRIPT>
|
||
|
||
|
||
</FONT></TD>
|
||
</TR>
|
||
<TR>
|
||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||
SUMMARY: <A HREF="#nested_classes_inherited_from_class_com.pdftools.expa.ExpaInitialize">NESTED</A> | <A HREF="#fields_inherited_from_class_com.pdftools.NativeLibrary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||
</TR>
|
||
</TABLE>
|
||
<A NAME="skip-navbar_bottom"></A>
|
||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
|
||
<HR>
|
||
|
||
</BODY>
|
||
</HTML>
|