Change to PNG as default output
I encountered a number of large web pages that would not render as jpg. Switching to png made them work. Suggest to make png the default now.
This commit is contained in:
parent
d63cee86a6
commit
2a1452c9f2
@ -63,7 +63,8 @@ class http2pic
|
|||||||
switch($this->params['type'])
|
switch($this->params['type'])
|
||||||
{
|
{
|
||||||
case 'png': $this->params['type'] = 'png'; break;
|
case 'png': $this->params['type'] = 'png'; break;
|
||||||
default: $this->params['type'] = 'jpg';
|
case 'jpg': $this->params['type'] = 'jpg'; break;
|
||||||
|
default: $this->params['type'] = 'png';
|
||||||
}
|
}
|
||||||
|
|
||||||
//validate timeout
|
//validate timeout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user