diff --git a/java/doc/deprecated-list.html b/java/doc/deprecated-list.html index 37ca5155..65951d2a 100644 --- a/java/doc/deprecated-list.html +++ b/java/doc/deprecated-list.html @@ -82,6 +82,7 @@ function windowTitle()
| +Deprecated Constructors | +|
|---|---|
| org.libjpegturbo.turbojpeg.TJCompressor(byte[], int, int, int, int)
+ + Use + TJCompressor.TJCompressor(byte[], int, int, int, int, int, int) instead. |
+|
srcImage with the newly-created
- instance.
srcImage with the newly-created
instance.
+TJCompressor.TJCompressor(byte[], int, int, int, int, int, int) instead.
srcImage with the newly-created
- instance.
+ Deprecated. Use
+ TJCompressor(byte[], int, int, int, int, int, int) instead.
TJCompressor(byte[] srcImage,
@@ -342,28 +341,6 @@ public TJCompressor()
-
-TJCompressor
-
-public TJCompressor(byte[] srcImage,
- int width,
- int pitch,
- int height,
- int pixelFormat)
- throws java.lang.Exception
-
-- Create a TurboJPEG compressor instance and associate the uncompressed
- source image stored in
srcImage with the newly-created
- instance.
-
-
-- Parameters:
srcImage - see setSourceImage(byte[], int, int, int, int, int, int) for descriptionwidth - see setSourceImage(byte[], int, int, int, int, int, int) for descriptionpitch - see setSourceImage(byte[], int, int, int, int, int, int) for descriptionheight - see setSourceImage(byte[], int, int, int, int, int, int) for descriptionpixelFormat - pixel format of the source image (one of
- TJ.PF_*)
-- Throws:
-
java.lang.Exception
-
-
-
TJCompressor
@@ -386,6 +363,27 @@ public TJCompressor(byte[] srcImage,
Throws:
java.lang.Exception
+
+
+
+TJCompressor
+
+@Deprecated
+public TJCompressor(byte[] srcImage,
+ int width,
+ int pitch,
+ int height,
+ int pixelFormat)
+ throws java.lang.Exception
+
+- Deprecated. Use
+
TJCompressor(byte[], int, int, int, int, int, int) instead.
+
+
+
+- Throws:
+
java.lang.Exception
+
@@ -435,11 +433,12 @@ public void setSourceImage(byte[] srcImage,
setSourceImage
-public void setSourceImage(byte[] srcImage,
- int width,
- int pitch,
- int height,
- int pixelFormat)
+@Deprecated
+public void setSourceImage(byte[] srcImage,
+ int width,
+ int pitch,
+ int height,
+ int pixelFormat)
throws java.lang.Exception
- Deprecated. Use
diff --git a/java/doc/org/libjpegturbo/turbojpeg/TJDecompressor.html b/java/doc/org/libjpegturbo/turbojpeg/TJDecompressor.html
index 8f037361..5d24f312 100644
--- a/java/doc/org/libjpegturbo/turbojpeg/TJDecompressor.html
+++ b/java/doc/org/libjpegturbo/turbojpeg/TJDecompressor.html
@@ -777,12 +777,13 @@ public void decompress(byte[] dstBuf,
decompress
-public void decompress(byte[] dstBuf,
- int desiredWidth,
- int pitch,
- int desiredHeight,
- int pixelFormat,
- int flags)
+@Deprecated
+public void decompress(byte[] dstBuf,
+ int desiredWidth,
+ int pitch,
+ int desiredHeight,
+ int pixelFormat,
+ int flags)
throws java.lang.Exception
- Deprecated. Use
diff --git a/java/org/libjpegturbo/turbojpeg/TJCompressor.java b/java/org/libjpegturbo/turbojpeg/TJCompressor.java
index 69b630f9..8c4afdfc 100644
--- a/java/org/libjpegturbo/turbojpeg/TJCompressor.java
+++ b/java/org/libjpegturbo/turbojpeg/TJCompressor.java
@@ -46,27 +46,6 @@ public class TJCompressor {
init();
}
- /**
- * Create a TurboJPEG compressor instance and associate the uncompressed
- * source image stored in
srcImage with the newly-created
- * instance.
- *
- * @param srcImage see {@link #setSourceImage} for description
- *
- * @param width see {@link #setSourceImage} for description
- *
- * @param pitch see {@link #setSourceImage} for description
- *
- * @param height see {@link #setSourceImage} for description
- *
- * @param pixelFormat pixel format of the source image (one of
- * {@link TJ TJ.PF_*})
- */
- public TJCompressor(byte[] srcImage, int width, int pitch, int height,
- int pixelFormat) throws Exception {
- setSourceImage(srcImage, width, pitch, height, pixelFormat);
- }
-
/**
* Create a TurboJPEG compressor instance and associate the uncompressed
* source image stored in srcImage with the newly-created
@@ -92,6 +71,16 @@ public class TJCompressor {
setSourceImage(srcImage, x, y, width, pitch, height, pixelFormat);
}
+ /**
+ * @deprecated Use
+ * {@link #TJCompressor(byte[], int, int, int, int, int, int)} instead.
+ */
+ @Deprecated
+ public TJCompressor(byte[] srcImage, int width, int pitch, int height,
+ int pixelFormat) throws Exception {
+ setSourceImage(srcImage, width, pitch, height, pixelFormat);
+ }
+
/**
* Associate an uncompressed source image with this compressor instance.
*