Skip to content

Commit

Permalink
[UPD] Ajustes em Graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
robmachado committed Jun 2, 2016
1 parent 5bc85ff commit 5f787c9
Show file tree
Hide file tree
Showing 11 changed files with 187 additions and 176 deletions.
4 changes: 2 additions & 2 deletions examples/convertImage2BMP.php
Expand Up @@ -5,10 +5,10 @@

$graph = new Graphics();

$imgPath = 'tux.png';
$imgPath = '../images/tux.png';

$graph->load($imgPath);


$imgPathBW = 'tux.bmp';
$imgPathBW = '../images/tux.bmp';
$graph->save($imgPathBW, 'BMP');
4 changes: 2 additions & 2 deletions examples/convertImage2BMPBW.php
Expand Up @@ -5,10 +5,10 @@

$graph = new Graphics();

$imgPath = 'tux.png';
$imgPath = '../images/tux.png';

$graph->load($imgPath);
$graph->convertBW();

$imgPathBW = 'tuxBW.bmp';
$imgPathBW = '../images/tuxBW.bmp';
$graph->save($imgPathBW, 'BMP');
4 changes: 2 additions & 2 deletions examples/convertImage2BW.php
Expand Up @@ -5,11 +5,11 @@

$graph = new Graphics();

$imgPath = 'tux.png';
$imgPath = '../images/tux.png';

$graph->load($imgPath);

$graph->convertBW();

$imgPathBW = 'tuxBW.png';
$imgPathBW = '../images/tuxBW.png';
$graph->save($imgPathBW, 'PNG');
4 changes: 2 additions & 2 deletions examples/convertImageBMP2JPG.php 100644 → 100755
Expand Up @@ -5,10 +5,10 @@

$graph = new Graphics();

$imgPath = 'tux.bmp';
$imgPath = '../images/tux.bmp';

$graph->load($imgPath);


$imgPathJPG = 'tux.jpg';
$imgPathJPG = '../images/tux.jpg';
$graph->save($imgPathJPG, 'JPG', 100);
Binary file removed examples/tux.bmp
Binary file not shown.
Binary file removed examples/tux.jpg
Binary file not shown.
Binary file removed examples/tux.png
Binary file not shown.
Binary file removed examples/tuxBW.bmp
Binary file not shown.
Binary file removed examples/tuxBW.png
Binary file not shown.
Binary file modified images/tuxBW.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5f787c9

Please sign in to comment.