Changeset 16990 for branches/2.4/include/derivative_params.inc.php
- Timestamp:
- Jul 24, 2012, 10:50:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/include/derivative_params.inc.php
r14649 r16990 282 282 return true; 283 283 } 284 285 function will_watermark($out_size) 286 { 287 if ($this->use_watermark) 288 { 289 $min_size = ImageStdParams::get_watermark()->min_size; 290 return $min_size[0]<=$out_size[0] 291 && $min_size[1]<=$$out_size[1]; 292 } 293 return false; 294 } 284 295 } 285 296 ?>
Note: See TracChangeset
for help on using the changeset viewer.