diff --git a/CImg.h b/CImg.h
index 9e66466d8530d2d9695d168dfc3628aeb93b177e..73b73efca3795b11c7460e9c21253854b7a8230c 100644
--- a/CImg.h
+++ b/CImg.h
@@ -7988,8 +7988,8 @@ namespace cimg_library_suffixed {
       return _empty;
     }
 
-#define cimg_fitscreen(dx,dy,dz) CImgDisplay::_fitscreen(dx,dy,dz,128,-85,false), \
-                                 CImgDisplay::_fitscreen(dx,dy,dz,128,-85,true)
+#define cimg_fitscreen(dx,dy,dz) CImgDisplay::_fitscreen(dx,dy,dz,256,-85,false), \
+                                 CImgDisplay::_fitscreen(dx,dy,dz,256,-85,true)
     static unsigned int _fitscreen(const unsigned int dx, const unsigned int dy, const unsigned int dz,
                                    const int dmin, const int dmax, const bool return_y) {
       const int