Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

icetimagenull(3) [debian man page]

icetImageNull(3)						  IceT Reference						  icetImageNull(3)

NAME
icetImageNull -- retrieve a placeholder for an empty image. Synopsis #include <IceT.h> IceTImage icetImageNull( void ); Description Images are created internally by the IceT library. Sometimes it is convenient to have a placeholder for a .igimage!null``null'' image, an image that does not and cannot hold data. Null images require no allocated memory to function. If your code has the potential of using an IceTImage image object that might not otherwise be initialized, use icetImageNull to set it to a null object. This will ensure that IceT image functions that operate on it will behave deterministically. A null image simply looks like an image with no pixels and has no color buffers. icetImageGetWidth, icetImageGetHeight, and icetImageGet- NumPixels all return 0 for a null image. icetSetColorFormatand icetSetDepthFormatreturn ICET_IMAGE_COLOR_NONE and ICET_IMAGE_DEPTH_NONE, respectively. You can identify a null image with the icetImageIsNull function. Return Value A null image object. 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 icetImageIsNull(3) IceT Reference September 20, 2010 icetImageNull(3)

Check Out this Related Man Page

icetImageGetNumPixels(3)					  IceT Reference					  icetImageGetNumPixels(3)

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)
Man Page

5 More Discussions You Might Find Interesting

1. AIX

How do I create a bootable mksysb image file

I have several systems which require software maintenance several times a year. After the software maintenance, it is required that we make two system tapes for DR purposes. The creation of these system tapes takes anywhere from 1-1.5 hours because of the performance of the tape drives. What I... (7 Replies)
Discussion started by: acascianelli
7 Replies

2. Programming

Issue Related to Splash Screen in Java

Hi all, Actually I want to flash the image which I have in my system and when I am trying to do it,it is not showing it.simply creates the frame but not displaying the image.I am attaching the code-- Please take a look on it and please provide your valuable suggestions on it so that I... (2 Replies)
Discussion started by: smartgupta
2 Replies

3. UNIX for Dummies Questions & Answers

Images won't work?

Hello, Images won't work on UNIX when I try posting them on my website I'm working on. It doesn't show the image, and it's simply erroring. Help! Thanks! (5 Replies)
Discussion started by: yazan
5 Replies

4. Shell Programming and Scripting

Handle null values-awk

I am using below code to validate the source file,code working fine but if any column contains null value then below code throwing error actually it should not.how to customize the below code to handle null null values also. When I run the script with below source data getting “date error”, as... (2 Replies)
Discussion started by: srivalli
2 Replies

5. Shell Programming and Scripting

Identify empty file with null record

Hi Team, I have a file abc.dat which is a empty file. But it has null record in first line. I need to identify this unique file and handle it separately. scenario 1: abc/dw> wc abc.dat 1 0 1 abc.dat abc/dw> cat abc.dat abc/dw> scenario 2: abc/dw> wc pqr.dat 0 0 0 pqr.dat... (3 Replies)
Discussion started by: kmanivan82
3 Replies