Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
SimpleImage
adaptive_resize
SimpleImage::adaptive_resize PHP Method
SimpleImage Class Documentation
Show file
Open project: sjardim/Hugopit
adaptive_resize()
public
method
This function has been deprecated and will be removed in an upcoming release. Please update your code to use the
thumbnail()
method instead. The arguments for both methods are exactly the same.
public
adaptive_resize
(
integer
$width
,
integer
|
null
$height
= null ) :
SimpleImage
$width
integer
$height
integer
|
null
If omitted - assumed equal to $width
return
SimpleImage
function adaptive_resize($width, $height = null) { return $this->thumbnail($width, $height); }
SimpleImage
__construct
__destruct
adaptive_resize
auto_orient
best_fit
blur
brightness
colorize
contrast
create
crop
desaturate
edges
emboss
file_ext
fill
fit_to_height
fit_to_width
flip
get_height
get_meta_data
get_orientation
get_original_info
get_width
imagecopymerge_alpha
invert
keep_within
load
load_base64
mean_remove
normalize_color
opacity
output
output_base64
overlay
pixelate
resize
rotate
save
sepia
sketch
smooth
text
thumbnail