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 AlsoicetImageIsNull(3)IceT Reference September 20, 2010 icetImageNull(3)
Check Out this Related Man Page
icetGetSingleImageStrategyName(3) IceT Reference icetGetSingleImageStrategyName(3)NAME
icetGetSingleImageStrategyName -- retrieve single image sub-strategy name.
Synopsis
#include <IceT.h>
const char *icetGetSingleImageStrategyName( void );
Description
icetGetSingleImageStrategyName retrieves a human-readable name for the current single image sub-strategy.
Return Value
Returns a short, null terminated string identifying the single image strategy currently in effect. Helpful for printing out debugging or
diagnostic statements.
Errors
None.
Warnings
None.
Bugs
None known.
Notes
The string returned does not contain the identifier used in a C program. For example, if the current single image strategy is ICET_SIN-
GLE_IMAGE_STRATEGY_BSWAP, icetGetSingleImageStrategyName returns ``Binary Swap,'' not ``ICET_SINGLE_IMAGE_STRATEGY_BSWAP.''
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 AlsoicetGetStrategyName(3), icetSingleImageStrategy(3)IceT Reference August 23, 2010 icetGetSingleImageStrategyName(3)
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)
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)
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)
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)
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)