added edge wrapping option to scale image dialog