changeset 7889:99757c39bff9

RT-38230: Document the image file formats supported by javafx.scene.image.Image Reviewed-by: fheidric
author vadim
date Wed, 27 Aug 2014 22:20:20 +0400
parents 9ae7393e72e9
children 20ee873c49f1
files modules/graphics/src/main/java/javafx/scene/image/Image.java
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/javafx/scene/image/Image.java	Wed Aug 27 13:51:42 2014 -0400
+++ b/modules/graphics/src/main/java/javafx/scene/image/Image.java	Wed Aug 27 22:20:20 2014 +0400
@@ -62,6 +62,16 @@
  * images from a specified URL.
  *
  * <p>
+ * Supported image formats are:
+ * <ul>
+ * <li><a href="http://msdn.microsoft.com/en-us/library/dd183376(v=vs.85).aspx">BMP</a></li>
+ * <li><a href="http://www.w3.org/Graphics/GIF/spec-gif89a.txt">GIF</a></li>
+ * <li><a href="http://www.ijg.org">JPEG</a></li>
+ * <li><a href="http://www.libpng.org/pub/png/spec/">PNG</a></li>
+ * </ul>
+ * </p>
+ *
+ * <p>
  * Images can be resized as they are loaded (for example to reduce the amount of
  * memory consumed by the image). The application can specify the quality of
  * filtering used when scaling, and whether or not to preserve the original