{
try
{
final MfCmd command = (MfCmd) records.get(i);
command.setScale((float) imageWidth / (float) maxWidth, (float) imageHeight / (float) maxHeight);
command.replay(this);
}
catch (Exception e)
{
logger.warn("Error while processing image record #" + i, e);
}