Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
Revert "Add Save function to PelTiff"
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Lehrmann committed Mar 26, 2016
1 parent 9cf4a1e commit 939864c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/PelTiff.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,18 +244,6 @@ public function getBytes($order = PelConvert::LITTLE_ENDIAN)

return $bytes;
}

/**
* Save the TIF object as a TIF image in a file.
*
* @param
* string the filename to save in. An existing file with the
* same name will be overwritten!
*/
public function saveFile($filename)
{
file_put_contents($filename, $this->getBytes());
}

/**
* Return a string representation of this object.
Expand Down

0 comments on commit 939864c

Please sign in to comment.