-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathparams.rb
More file actions
64 lines (62 loc) · 945 Bytes
/
params.rb
File metadata and controls
64 lines (62 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# frozen_string_literal: true
module Cloudimage
module Params
ALIASES = {
debug: :ci_info,
prevent_enlargement: :org_if_sml,
rotate: :r,
sharper_resizing: :sharp,
resize_mode: :func,
}.freeze
PARAMS = %i[
bg_blur
bg_color
bg_colorize
bg_colour
bg_colourise
bg_img_fit
bg_opacity
blur
blur_faces
br_px
bright
ci_info
contrast
doc_page
f
force_download
force_format
func
gravity
gray
grey
h
height
optipress
org_if_sml
p
pixelate
pixellate
process
q
r
radius
sharp
tl_px
trim
w
wat
wat_color
wat_colour
wat_url
wat_font
wat_fontsize
wat_gravity
wat_opacity
wat_pad
wat_scale
wat_text
width
].freeze
end
end