From 99b1c689eef2b459350189ebac9c2b3214d37ce9 Mon Sep 17 00:00:00 2001 From: gaillaro Date: Sat, 16 Apr 2005 00:09:28 +0000 Subject: --bug sur l'interface --- 2005/i/robert/src/ovision/see/img.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '2005/i/robert/src/ovision/see/img.cc') diff --git a/2005/i/robert/src/ovision/see/img.cc b/2005/i/robert/src/ovision/see/img.cc index 5dd4d28..52ce584 100644 --- a/2005/i/robert/src/ovision/see/img.cc +++ b/2005/i/robert/src/ovision/see/img.cc @@ -89,7 +89,7 @@ Img::load (ImageReader &loader) // Ouvre l'image Image image; image.read (loader); - image.getSize (width_, height_); + loader.getParam (width_, height_, colorMode_); nbPixels_ = width_ * height_; tabData_ = new unsigned char[image.getBufSize ()]; memcpy (tabData_, image.getBuf (), image.getBufSize ()); -- cgit v1.2.3