made imread description slightly better #2406
authorKirill Kornyakov <kirill.kornyakov@itseez.com>
Mon, 15 Oct 2012 11:23:38 +0000 (15:23 +0400)
committerKirill Kornyakov <kirill.kornyakov@itseez.com>
Mon, 15 Oct 2012 11:23:38 +0000 (15:23 +0400)
doc/tutorials/introduction/windows_install/windows_install.rst
modules/highgui/doc/reading_and_writing_images_and_video.rst

index ca089c4..3a73a2b 100644 (file)
@@ -14,7 +14,7 @@ The description here was tested on Windows 7 SP1. Nevertheless, it should also w
 Installation by Using the Pre-built Libraries\r
 =============================================\r
 \r
-#. Launch a web browser of choice and go to our `page on Sourceforge <http://sourceforge.net/projects/opencvlibrary/files/opencv-win/>`_\r
+#. Launch a web browser of choice and go to our `page on Sourceforge <http://sourceforge.net/projects/opencvlibrary/files/opencv-win/>`_.\r
 \r
 #. Choose a build you want to use and download it.\r
 \r
index d4b2a1f..4644796 100644 (file)
@@ -81,12 +81,12 @@ Loads an image from a file.
         CV_LOAD_IMAGE_GRAYSCALE
         
 
-        * **>0**  Return a 3-channel color image
+        * **>0**  Return a 3-channel color image.
+            .. note:: In the current implementation the alpha channel, if any, is stripped from the output image. Use negative value if you need the alpha channel.
 
-        * **=0**  Return a grayscale image
+        * **=0**  Return a grayscale image.
 
-        * **<0**  Return the loaded image as is. 
-            .. note:: In the current implementation the alpha channel, if any, is stripped from the output image.
+        * **<0**  Return the loaded image as is (with alpha channel).
 
 The function ``imread`` loads an image from the specified file and returns it. If the image cannot be read (because of missing file, improper permissions, unsupported or invalid format), the function returns an empty matrix ( ``Mat::data==NULL`` ). Currently, the following file formats are supported: