summaryrefslogtreecommitdiffstats
path: root/lib/private/image.php
Commit message (Collapse)AuthorAgeFilesLines
* Move non PSR-4 files from lib/private root to legacyRoeland Jago Douma2016-04-301-1147/+0
| | | | | | As discussed we move all old style classes (OC_FOO_BAR) to legacy. Then from there we can evaluate the need to convert them back or if they can be fully deprecated/deleted.
* Remove Scrutinizer Auto FixerLukas Reschke2016-03-011-1/+0
|
* Update author informationLukas Reschke2016-03-011-1/+1
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* Fix BMP supportMorris Jobke2016-02-141-0/+1
| | | | * fixes #16461
* Happy new year!Thomas Müller2016-01-121-2/+3
|
* Annotate typeLukas Reschke2016-01-041-6/+8
| | | | Otherwise static code scanners will complain about this.
* Update license headersLukas Reschke2015-10-261-1/+1
|
* Make sure we have a resource before measuring its sizeOlivier Paroz2015-06-081-1/+5
|
* Fix max preview, some resizing and caching issues and force preview ↵Olivier Paroz2015-06-061-0/+20
| | | | | | | | | | providers to resize their previews properly * introduces a method in OC_Image which doesn't stretch images when trying to make them fit in a box * adds the method to all key providers so that they can do their job, as expected by the Preview class * improves the caching mechanism of Preview in order to reduce I/O and to avoid filling the available disk space * fixes some long standing issues * **contains mostly tests**
* Update license headersJenkins for ownCloud2015-03-261-7/+30
|
* Create an interface for OC_Image and OCP\Image for the public APIJoas Schilling2015-03-161-2/+5
|
* validate resource's integrity before using itGeorg Ehrke2015-03-161-1/+4
|
* Revert "Updating license headers"Morris Jobke2015-02-261-29/+11
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-11/+29
|
* Check if imageflip is availableMorris Jobke2015-02-121-1/+1
| | | | | * imageflip() isn't available in PHP < 5.5 * fixes #14130
* remove insane debug-log from OC_ImageGeorg Ehrke2015-01-221-1/+0
|
* Fix exif orientation for flipped imagesMorris Jobke2015-01-181-5/+12
| | | | | | | | fixes #13363 Links: * http://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling-is-a-ghetto/ * Example data: https://github.com/recurser/exif-orientation-examples
* Do not call filesize(null), this function expects a string.Andreas Fischer2014-12-181-1/+1
| | | | filesize(null) yields an int on HHVM and thus exif_imagetype(null) is called.
* Use \OCP\ILoggerThomas Müller2014-12-011-257/+264
|
* Added error check to lib/private/image.phpByron Marohn2014-12-011-0/+6
| | | | | | | This checks that imagecreatetruecolor actually creates an image, rather than returning FALSE. Without this check, subsequent loop might create billions of ERROR-level log messages. Signed-off-by: Byron Marohn <combustible@live.com>
* You can only change the oritentation of a JPEGOlivier Paroz2014-11-241-0/+4
| | | | | | TIFFs also have EXIF headers, but they're not supported by the Image class PHP doc http://php.net/manual/en/function.exif-read-data.php
* Preserve transparency when loading from a filekondou2014-09-101-0/+6
| | | | Fix #7148 - again :)
* Close file handle if exception occurs in image classMorris Jobke2014-08-131-0/+4
| | | | ref #10392
* extract transparency fix from #8050Georg Ehrke2014-07-301-0/+8
|
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-23/+23
| | | | * test case added to avoid adding them later
* Fix all PHPDoc types and variable names, in /libRobin McCorkell2014-05-131-1/+1
|
* Fix PHPdoc in lib/privateBart Visscher2014-04-151-3/+3
| | | | using scrutinizer patch
* Merge branch 'master' into type-hintingBart Visscher2014-03-311-79/+109
|\ | | | | | | | | | | | | | | | | Conflicts: lib/private/image.php lib/private/l10n.php lib/private/request.php lib/private/share/mailnotifications.php lib/private/template/base.php
| * unit tests for specific image type output addedThomas Müller2014-03-171-1/+6
| |
| * fixing PHPDocThomas Müller2014-03-171-49/+58
| |
| * OC_Image::_output() - throw exception instead of falling back to pngGeorg Ehrke2014-03-141-1/+1
| |
| * remove image/pjpeg from OC_Image::_outputGeorg Ehrke2014-03-141-1/+0
| |
| * don't change mimetype of whole image objectGeorg Ehrke2014-03-141-6/+6
| |
| * make it possible to influence output type of \OC_ImageGeorg Ehrke2014-03-141-7/+40
| |
| * Merge pull request #7182 from owncloud/imagerotate_and_loadbase64_fixVincent Petry2014-03-061-4/+3
| |\ | | | | | | Fix imagerotate and move loadFromBase64() one up
| | * Fix imagerotate and move loadFromBase64() one up.kondou2014-02-121-4/+3
| | | | | | | | | | | | | | | | | | | | | imagerotate() with third parameter being -1 does not seem to work in PHP 5.5 loadFromBase64() one up, so debug-logs aren't spammed (as much) with urlencoded base64-data from loadFromFile() debug output.
| * | remove unused code and fix wrong variable names - some PHPDoc updatedThomas Müller2014-02-261-23/+8
| | |
* | | More PHPDoc fixes, using scrutinizer patches as hintsBart Visscher2014-02-281-1/+1
|/ /
* | Merge pull request #6962 from owncloud/quota-space-rootThomas Müller2014-02-201-1/+1
|\ \ | | | | | | Allow passing a root folder to get the used space from in the quota wrapper
| * | Merge branch 'master' into quota-space-rootRobin Appelman2014-02-071-2/+2
| |\|
| * | Don't create new thumbnails on the write hookRobin Appelman2014-02-041-1/+1
| | |
* | | Scrutinizer Auto-FixesScrutinizer Auto-Fixer2014-02-191-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend
* | | Merge branch 'master' into scrutinizer_documentation_patchesThomas Müller2014-02-141-2/+2
|\ \ \ | | |/ | |/| | | | | | | Conflicts: lib/private/appconfig.php
| * | encode imagePath and fix documentation of loadFromFileGeorg Ehrke2014-01-111-2/+2
| | |
| * | fix issue with logging non utf8 charsGeorg Ehrke2013-12-161-1/+1
| |/
* / polish documentation based on scrutinizer patchesJörn Friedrich Dreyer2014-02-061-6/+5
|/
* Revert "use relative paths to create images from a file. This way it also ↵Bjoern Schiessle2013-11-221-16/+15
| | | | | | works if" This reverts commit 3488f0b77a2d03747bf20b5d870639cb40440083.
* use relative paths to create images from a file. This way it also works ifBjoern Schiessle2013-11-221-15/+16
| | | | no user is logged in (e.g. public gallery share)
* move the private namespace OC into lib/private - OCP will stay in lib/publicThomas Müller2013-09-301-0/+1020
Conflicts: lib/private/vcategories.php