kinow commented on a change in pull request #38: Cleaned up PNG component.
URL: https://github.com/apache/commons-imaging/pull/38#discussion_r284489106
##########
File path:
src/main/java/org/apache/commons/imaging/formats/png/parser/PixelParser.java
##########
@@ -14,43 +14,102 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.commons.imaging.formats.png;
+package org.apache.commons.imaging.formats.png.parser;
import org.apache.commons.imaging.ImageReadException;
-class BitParser {
- private final byte[] bytes;
+// BitParser renamed to PixelParser
+
+/**
+ * {@code PixelParser} object can parse PNG image data and extract
+ * individual pixel samples.
+ *
+ * A pixel parser works on a scan-line and can be used to get each
+ * pixel sample in it, based on the bits-per-pixel and bit-depth
+ * fields.
+ *
+ * @author Shukant Pal
Review comment:
Author tags should be removed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services