Add resolution management

Issue : none

- Allow to select a resolution
- When creating image from subtitle, resscale the image from the current
resolution to the given image size

Signed-off-by: juiice <decaen.julien@gmail.com>