mirror of
https://github.com/CloudCompare/PoissonRecon.git
synced 2026-08-30 00:50:28 +08:00
Catch exception when failing to write image.
Output transformation when writing grid.
This commit is contained in:
@@ -139,7 +139,7 @@ struct RGBPixel
|
||||
void WriteImage( char* fileName , RGBPixel* pixels , int w , int h )
|
||||
{
|
||||
unsigned int _w = w , _h = h , _c = 3;
|
||||
if( !ImageWriter::Write( fileName , (const unsigned char*)pixels , _w , _h , _c ) ) ERROR_OUT( "Could not write image to: %s" , fileName );
|
||||
ImageWriter::Write( fileName , (const unsigned char*)pixels , _w , _h , _c );
|
||||
}
|
||||
|
||||
struct Profiler
|
||||
|
||||
Reference in New Issue
Block a user