Definition at line 130 of file Archive.h. References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW(), mImList, and Impala::Core::Array::WritePngToMemory(). Referenced by HandleNewFile(). 00131 { 00132 int charBufSize = im->CW() * im->CH() * 3 + 1024; 00133 char* charBuf = new char[charBufSize]; 00134 size_t nrBytes; 00135 WritePngToMemory(im, charBuf, charBufSize, &nrBytes); 00136 delete im; 00137 CImType* bufIm = Array::MakeFromData<CImType>((UInt8*) charBuf, 00138 nrBytes, 1); 00139 delete charBuf; 00140 mImList.push_back(bufIm); 00141 }
Here is the call graph for this function:
|