예제 #1
0
 png_loader::
 png_loader( const dlib::file& f ) : height_( 0 ), width_( 0 )
 {
     read_image( f.full_name().c_str() );
 }
예제 #2
0
 jpeg_loader::
 jpeg_loader( const dlib::file& f ) : height_( 0 ), width_( 0 ), output_components_(0)
 {
     read_image( f.full_name().c_str() );
 }