GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

       icetImageGetWidth,icetImageGetHeight,icetImageGetNumPixels--        get
       dimensions of an image

Synopsis

       #include <IceT.h>

       IceTSizeType   icetImageGetWidth       (  const IceTImage   image   );
       IceTSizeType   icetImageGetHeight      (  const IceTImage   image   );
       IceTSizeType   icetImageGetNumPixels   (  const IceTImage   image   );

Description

       icetImageGetWidth,icetImageGetHeight,and icetImageGetNumPixelsallow you
       to  query  the  size  of an image with respect to the number of pixels.
       These functions define the buffer size  returned  by  icetImageGetColor
       and icetImageGetDepth.

Return Value

       icetImageGetWidthreturns the number of pixels along the horizontal axis
       of the image and icetImageGetHeightreturns the number of  pixels  along
       the  vertical axis of the image.  icetImageGetNumPixelsis a convenience
       function that returns the total number of pixels in  image  (the  width
       times the height).

Errors

       None.

Warnings

       None.

Bugs

       None known.

Copyright

       Copyright (C)2010 Sandia Corporation

       Under  the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
       the U.S. Government retains certain rights in this software.

       This source code is released under the New BSD License.

See Also

       icetImageGetColor(3), icetImageGetDepth(3)

IceT Reference                  August  9, 2010       icetImageGetNumPixels(3)



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.109 seconds. Last modified: November 04 2018 12:49:43.