static L markedFaces_scaledToWidth(int width, O... _) { optPar bool withNoFace; new L images; for (File f : listImageFilesByDateDesc(ai_markedFacesDir())) { BufferedImage img = loadImage2(f); Rect face = unstructAndCast(Rect, getFileInfoField(f, "Face position")); if (face == null && !withNoFace) continue; BufferedImage img2 = scaleImageToWidth(img, width); Rect face2 = rescaleRect_imageToImage(face, img, img2); images.add(RGBImageAndRect(RGBImage(img2, f), face2)); } ret images; }