Module: ImageProxyRuby::Operations::Format

Included in:
Image
Defined in:
lib/image_proxy/operations/format.rb

Overview

add format functionalities to image

Instance Method Summary collapse

Instance Method Details

#jpegObject



7
8
9
10
11
# File 'lib/image_proxy/operations/format.rb', line 7

def jpeg
  operations << 'jpeg'

  self
end

#pngObject



13
14
15
16
17
# File 'lib/image_proxy/operations/format.rb', line 13

def png
  operations << 'png'

  self
end

#tiffObject



19
20
21
22
23
# File 'lib/image_proxy/operations/format.rb', line 19

def tiff
  operations << 'tiff'

  self
end