projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e7e385
)
HIDE ERRORS ON GET IMAGE SIZE
author
Alan Knowles
<alan@roojs.com>
Thu, 2 Jul 2020 04:34:15 +0000
(12:34 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 2 Jul 2020 04:34:15 +0000
(12:34 +0800)
File/Convert/Solution.php
patch
|
blob
|
history
diff --git
a/File/Convert/Solution.php
b/File/Convert/Solution.php
index
72e865d
..
ce997e3
100644
(file)
--- a/
File/Convert/Solution.php
+++ b/
File/Convert/Solution.php
@@
-1025,7
+1025,7
@@
class File_Convert_Solution
//echo "GOT TARGET" . $target;
- list($width, $height) = getimagesize($fn);
+ list($width, $height) =
@
getimagesize($fn);
$extent = '';
switch (true) { // what about fit/pad etc...
@@
-1090,7
+1090,7
@@
class File_Convert_Solution
- list($width, $height) = getimagesize($fn);
+ list($width, $height) =
@
getimagesize($fn);
$pad = is_numeric($x) && is_numeric($y);