svg
|
@ -85,7 +85,17 @@ class OnlyCommand extends Command
|
||||||
$this->only_url = "https://transnum.oo.pp.ac-dijon.fr"."/api/2.0/";
|
$this->only_url = "https://transnum.oo.pp.ac-dijon.fr"."/api/2.0/";
|
||||||
$this->only_user = "admin";
|
$this->only_user = "admin";
|
||||||
$this->only_password = "brigitte89!";
|
$this->only_password = "brigitte89!";
|
||||||
|
|
||||||
|
$im = new \Imagick();
|
||||||
|
$im->setResolution(350, 350);
|
||||||
|
$im->readImage("/var/www/html/ninegate/uploads/file/widget-308/essai.csv[0]");
|
||||||
|
$im->setImageBackgroundColor('#ffffff');
|
||||||
|
$im = $im->flattenImages();
|
||||||
|
$im->setImageFormat('jpeg');
|
||||||
|
$im->writeImage("/var/www/html/ninegate/uploads/file/widget-308/toto.jpg");
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
|
||||||
if($this->only_sync) {
|
if($this->only_sync) {
|
||||||
// Only Office est-il dans le domaine
|
// Only Office est-il dans le domaine
|
||||||
if(stripos($this->only_url,"/")===0)
|
if(stripos($this->only_url,"/")===0)
|
||||||
|
|
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 4.7 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 4.2 KiB |