String name = od.getFileName();
if (name==null)
return;
String path = directory + name;
TextReader tr = new TextReader();
ImageProcessor ip = tr.open(path);
if (ip==null)
return;
int width = ip.getWidth();
int height = ip.getHeight();
if (!((width==1||width==2)&&height>1)) {