static Rect scaleRect_imageToImage(Rect r, BufferedImage imgSrc, BufferedImage imgDest) {
  ret rescaleRect_imageToImage(r, imgSrc, imgDest);
}


static Rect scaleRect_imageToImage(Rect r, WidthAndHeight imgSrc, WidthAndHeight imgDest) {
  ret rescaleRect_imageToImage(r, imgSrc, imgDest);
}