Warning: resize settings will be applied when the file will be reopened.