Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
QuantizeInfo.java
Package: verifidecoder_src.rar [view]
Upload User: qingzhou
Upload Date: 2013-04-21
Package Size: 733k
Code Size: 3k
Category:
Crack_Hack
Development Platform:
Java
- package magick;
- /**
- * Encapsulation of the QuantizedInfo structure.
- *
- * @author Eric Yeo
- */
- public class QuantizeInfo extends Magick {
- // Internal handle. Used as pointer to QuantizedInfo
- // structure in memory. We use long (64-bits) for
- // portibility.
- private long quantizeInfoHandle = 0;
- /**
- * Constructor.
- */
- public QuantizeInfo()
- throws MagickException
- {
- init();
- }
- /**
- * Automated destructor.
- */
- protected void finalize()
- {
- destroyQuantizeInfo();
- }
- /**
- * Initialise the QuantizeInfo structure.
- */
- public native void init()
- throws MagickException;
- /**
- * Deallocate the QuantizeInfo structure.
- */
- private native void destroyQuantizeInfo();
- /**
- * Set the value of number_colors field in the QuantizeInfo structure.
- *
- * @param value new value of number_colors
- */
- public native void setNumberColors(int value)
- throws MagickException;
- /**
- * Return the value of number_colors field in the QuantizInfo structure.
- *
- * @return current value of number_colors field
- */
- public native int getNumberColors()
- throws MagickException;
- /**
- * Set the value of tree_depth field in the QuantizeInfo structure.
- *
- * @param value new value of tree_depth
- */
- public native void setTreeDepth(int value)
- throws MagickException;
- /**
- * Return the value of tree_depth field in the QuantizInfo structure.
- *
- * @return current value of tree_depth field
- */
- public native int getTreeDepth()
- throws MagickException;
- /**
- * Set the value of dither field in the QuantizeInfo structure.
- *
- * @param value new value of dither
- */
- public native void setDither(int value)
- throws MagickException;
- /**
- * Return the value of dither field in the QuantizInfo structure.
- *
- * @return current value of dither field
- */
- public native int getDither()
- throws MagickException;
- /**
- * Set the value of colorspace field in the QuantizeInfo structure.
- *
- * @param value new value of colorspace
- * @see ColorspaceType
- */
- public native void setColorspace(int value)
- throws MagickException;
- /**
- * Return the value of color_space field in the QuantizInfo structure.
- *
- * @return current value of color_space field
- */
- public native int getColorspace()
- throws MagickException;
- /**
- * Set the value of measure_error field in the QuantizeInfo structure.
- *
- * @param value new value of measure_error
- */
- public native void setMeasureError(int value)
- throws MagickException;
- /**
- * Return the value of measure_error field in the QuantizInfo structure.
- *
- * @return current value of measure_error field
- */
- public native int getMeasureError()
- throws MagickException;
- }