Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class ArrayT>
bool Impala::Core::Array::WritePng ( ArrayT *  src,
Util::IOBuffer *  buffer,
size_t  memBufSize = 10000000 
) [inline]

Definition at line 133 of file WritePng.h.

References Impala::Util::IOBuffer::Write(), and WritePngToMemory().

Referenced by WriteFile(), and WritePng().

00134 {
00135     char* buf = new char[memBufSize];
00136     size_t outSize;
00137     if (!WritePngToMemory(src, buf, memBufSize, &outSize))
00138     {
00139         delete buf;
00140         return false;
00141     }
00142     buffer->Write(buf, outSize);
00143     delete buf;
00144     return true;
00145 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:58:53 2010 for ImpalaSrc by  doxygen 1.5.1