Feature/formats/resizing

In Swift enums don't need to repeat the enum name in the values: `ScaleMode.Fill` instead of `ScaleMode.ScaleModeFill`.