Module: Media::Preset::Apple

Extended by:
Apple
Included in:
Apple
Defined in:
lib/media/preset/apple.rb

Defined Under Namespace

Classes: Base

Instance Method Summary collapse

Instance Method Details

#presetsObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/media/preset/apple.rb', line 6

def presets
  {
    ipod: {height: 320, width: 480},
    ipod_touch: {height: 480, width: 640},
    iphone: {height: 480, width: 640},
    ipod_touch_4: {height: 640, width: 960},
    iphone_4: {height: 640, width: 960},
    iphone_5: {height: 1080, width: 1920},
    ipad_3: {height: 1080, width: 1920},
    ipad: {height: 1024, height: 768},
    apple_universal: {height: 720, width: 1280},
    apple_tv: {height: 720, width: 1280}
  }
end