Skip to content

Commit 2e59535

Browse files
committed
PDFBOX-5660: improve javadoc, as suggested by Valery Bokov; closes #335
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1929808 13f79535-47bb-0310-9956-ffa450edef68
1 parent b20dc7a commit 2e59535

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PNGConverter.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
* If this is for any reason not possible, the factory will return null. You
5555
* must then encode the image by loading it and using the LosslessFactory.
5656
* <p>
57-
* The W3C PNG spec was used to implement this class:
58-
* https://www.w3.org/TR/2003/REC-PNG-20031110
57+
* <a href="https://www.w3.org/TR/2003/REC-PNG-20031110">The W3C PNG spec</a> was used to implement
58+
* this class.
5959
*
6060
* @author Emmeran Seehuber
6161
*/
@@ -553,7 +553,8 @@ public int read(byte[] b, int off, int len) throws IOException
553553

554554
/**
555555
* Map the renderIntent int to a PDF render intent. See also
556-
* https://www.w3.org/TR/2003/REC-PNG-20031110/#11sRGB
556+
* <a href="https://www.w3.org/TR/2003/REC-PNG-20031110/#11sRGB">sRGB Standard RGB colour
557+
* space</a>.
557558
*
558559
* @param renderIntent the PNG render intent
559560
* @return the matching PDF Render Intent or null

0 commit comments

Comments
 (0)