()</PRE>
<DL>
<DD>Gets  the compression rate for the image in percent.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>Compression rate</DL>
</DD>
</DL>
<HR>

<A NAME="setCompressionRate(int)"><!-- --></A><H3>
setCompressionRate</H3>
<PRE>
public boolean <B>setCompressionRate</B>(int&nbsp;percent)</PRE>
<DL>
<DD>Sets the compression rate for the image in percent.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>percent</CODE> - Compression rate
<DT><B>Returns:</B><DD>true if the compression rate is valid (0..100), false i