You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by da...@apache.org on 2012/06/26 21:40:56 UTC
svn commit: r1354191 -
/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java
Author: damjan
Date: Tue Jun 26 19:40:55 2012
New Revision: 1354191
URL: http://svn.apache.org/viewvc?rev=1354191&view=rev
Log:
Fix some Javadoc errors.
Modified:
commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java
Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java?rev=1354191&r1=1354190&r2=1354191&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java (original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/Imaging.java Tue Jun 26 19:40:55 2012
@@ -811,7 +811,7 @@ public abstract class Imaging implements
}
/**
- * Determines the width and height of an image.
+ * Extracts the embedded XML metadata as an XML string.
* <p>
*
* @param is
@@ -826,7 +826,7 @@ public abstract class Imaging implements
}
/**
- * Determines the width and height of an image.
+ * Extracts the embedded XML metadata as an XML string.
* <p>
*
* @param is
@@ -843,7 +843,7 @@ public abstract class Imaging implements
}
/**
- * Determines the width and height of an image.
+ * Extracts the embedded XML metadata as an XML string.
* <p>
*
* @param bytes
@@ -856,7 +856,7 @@ public abstract class Imaging implements
}
/**
- * Determines the width and height of an image.
+ * Extracts the embedded XML metadata as an XML string.
* <p>
*
* @param bytes
@@ -871,7 +871,7 @@ public abstract class Imaging implements
}
/**
- * Extracts embedded XML metadata as XML string.
+ * Extracts the embedded XML metadata as an XML string.
* <p>
*
* @param file
@@ -884,7 +884,7 @@ public abstract class Imaging implements
}
/**
- * Extracts embedded XML metadata as XML string.
+ * Extracts the embedded XML metadata as an XML string.
* <p>
*
* @param file
@@ -899,7 +899,7 @@ public abstract class Imaging implements
}
/**
- * Extracts embedded XML metadata as XML string.
+ * Extracts the embedded XML metadata as an XML string.
* <p>
*
* @param byteSource
@@ -1295,8 +1295,6 @@ public abstract class Imaging implements
* while reading an image (i.e. a format violation, etc.).
* @throws IOException in the event of an unrecoverable I/O exception.
*/
-
-
public static BufferedImage getBufferedImage(byte bytes[], Map params)
throws ImageReadException, IOException {
return getBufferedImage(new ByteSourceArray(bytes), params);
@@ -1361,31 +1359,6 @@ public abstract class Imaging implements
return imageParser.getBufferedImage(byteSource, params);
}
- /**
- * Writes a BufferedImage to a file.
- * <p>
- * (TODO: elaborate here.)
- * <p>
- * Sanselan can only read image info, metadata and ICC profiles from all
- * image formats. However, note that the library cannot currently read or
- * write JPEG image data. PSD (Photoshop) files can only be partially read
- * and cannot be written. All other formats (PNG, GIF, TIFF, BMP, etc.) are
- * fully supported.
- * <p>
- *
- * @param src
- * The BufferedImage to be written.
- * @param file
- * File to write to.
- * @param format
- * The ImageFormat to use.
- * @param params
- * Map of optional parameters, defined in ImagingConstants.
- * @see ImagingConstants
- */
-
-
-
/**
* Writes the content of a BufferedImage to a file using the specified
* image format. Specifications for storing the file (such as data compression,