This commit is contained in:
@@ -108,6 +108,7 @@ namespace DataLoader
|
||||
MigrateRoFstGraphics(roDbpath, rofstinfo.ROFSTLookup.myHdr.myDbs[i].children, rodb);
|
||||
}
|
||||
}
|
||||
ROImageInfo.FlagImagesZipped();
|
||||
}
|
||||
|
||||
private string NewROName(string roName)
|
||||
@@ -180,7 +181,9 @@ namespace DataLoader
|
||||
byte[] ab = r.ReadBytes((int)fsIn.Length);
|
||||
r.Close();
|
||||
fsIn.Close();
|
||||
roImg = ROImage.MakeROImage(rodb, imgname, ab, null, fi.LastWriteTimeUtc, "Migration");
|
||||
ConfigInfo ci = new ConfigInfo(null);
|
||||
ci.AddItem("Image", "Size", ab.Length.ToString());
|
||||
roImg = ROImage.MakeROImage(rodb, imgname, ROImageInfo.Compress(ab), ci.ToString(), fi.LastWriteTimeUtc, "Migration");
|
||||
}
|
||||
}
|
||||
AddToAvailable(roImg, rodb.RODbID, imgname, fi.LastWriteTimeUtc);
|
||||
|
Reference in New Issue
Block a user