< prev index next >
src/java.desktop/share/classes/com/sun/imageio/plugins/common/PaletteBuilder.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -82,14 +82,12 @@
*
* @exception UnsupportedOperationException if implemented method
* is unable to create approximation of {@code src}
* and {@code canCreatePalette} returns {@code false}.
*
- * @see createIndexColorModel
- *
- * @see canCreatePalette
- *
+ * @see #createIndexColorModel
+ * @see #canCreatePalette
*/
public static RenderedImage createIndexedImage(RenderedImage src) {
PaletteBuilder pb = new PaletteBuilder(src);
pb.buildPalette();
return pb.getIndexedImage();
@@ -105,14 +103,12 @@
*
* @exception UnsupportedOperationException if implemented method
* is unable to create approximation of {@code img}
* and {@code canCreatePalette} returns {@code false}.
*
- * @see createIndexedImage
- *
- * @see canCreatePalette
- *
+ * @see #createIndexedImage
+ * @see #canCreatePalette
*/
public static IndexColorModel createIndexColorModel(RenderedImage img) {
PaletteBuilder pb = new PaletteBuilder(img);
pb.buildPalette();
return pb.getIndexColorModel();
< prev index next >