|
@@ -269,14 +269,14 @@ bool CachedExample::colorInformationAvailable() const
|
|
|
else {
|
|
|
if ( imgfn.size() == 0 ) return false;
|
|
|
|
|
|
- int tmp_xsize, tmp_ysize, tmp_maxval, tmp_nr;
|
|
|
+// int tmp_xsize, tmp_ysize, tmp_maxval, tmp_nr;
|
|
|
// refactor: InfImgFile ( imgfn, tmp_xsize, tmp_ysize, tmp_maxval, tmp_nr );
|
|
|
ImageFile imgf ( imgfn );
|
|
|
const ImageFile::Header & imgfheader = imgf.getHeader();
|
|
|
- tmp_xsize = imgfheader.width;
|
|
|
- tmp_ysize = imgfheader.height;
|
|
|
- tmp_maxval = 255;
|
|
|
- tmp_nr = imgfheader.channel;
|
|
|
+// tmp_xsize = imgfheader.width;
|
|
|
+// tmp_ysize = imgfheader.height;
|
|
|
+// tmp_maxval = 255;
|
|
|
+ int tmp_nr = imgfheader.channel;
|
|
|
|
|
|
if ( tmp_nr > 1 ) return true;
|
|
|
else return false;
|