exrdisplay: limit maximum image size based on available screen resolution
@@ -282,6 +282,11 @@ makeMainWindow (const char imageFile[],
Header header;
int zsize;
+ //
+ // limit maximum size to twice screen resolution
+ //
+ Header::setMaxImageSize(Fl::w()*2 , Fl::h()*2);
+
//
//pass 0 as partnum for the first load
//
