Module: Speedpetal
- Defined in:
- lib/speedpetal.rb,
ext/speedpetal.c
Constant Summary collapse
- VERSION =
'0.0.1'
Class Method Summary collapse
-
.resize(request_size, in_file_name, out_file_name) ⇒ Object
Thumbnail image create.
-
.resize_square(request_size, in_file_name, out_file_name) ⇒ Object
Square thumbnail image create.
Class Method Details
.resize(request_size, in_file_name, out_file_name) ⇒ Object
Thumbnail image create
191 192 193 194 |
# File 'ext/speedpetal.c', line 191
static VALUE t_resize(VALUE self, VALUE request_size, VALUE in_file_name, VALUE out_file_name){
abstract_resize(request_size, in_file_name, out_file_name, 0);
return self;
}
|
.resize_square(request_size, in_file_name, out_file_name) ⇒ Object
Square thumbnail image create
197 198 199 200 |
# File 'ext/speedpetal.c', line 197
static VALUE t_resize_square(VALUE self, VALUE request_size, VALUE in_file_name, VALUE out_file_name){
abstract_resize(request_size, in_file_name, out_file_name, 1);
return self;
}
|