aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IImage.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(OCP): Fix Image interfaceprovokateurin2024-09-021-0/+20
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-23/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Allow empty mimeTypeJ0WI2022-12-041-4/+4
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Add type hintsJ0WI2022-12-041-36/+29
| | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Fix typing problems in OC_ImageCôme Chilliet2021-12-061-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix resource usages in OC_ImageCôme Chilliet2021-10-281-1/+1
| | | | | | This makes sure using resource or GdImage (PHP>=8) behaves the same. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* optimize batch generation of previewsRobin Appelman2020-04-091-0/+39
| | | | | | | | | | by allowing the generation of multiple previews at once we save on having to find, open and decode the max-preview for every preview of the same file the main use case for this is the preview generator app (pr for that comming next) in my local testing this saves about 25% of time when using the preview generator app Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix float/integer handling in image APIMorris Jobke2018-01-171-2/+2
| | | | | | | * IImage::crop/preciseResize now have type hinting for integers * found while testing strict typing for PHP 7+ Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Don't lie about the preview mimetypeRoeland Jago Douma2018-01-071-0/+6
| | | | | | | | | | | | | | For legacy reasons we stored all the previews with a png extention. However we did not put png data in them all the time. This caused the preview endpoints to always report that a preview is a png file. Which was a lie. Since we abstract away from the storage etc in the previewmanager. There is no need anymore to store them as .png files and instead we can use the actual file extention. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Move \OCP to PSR-4Roeland Jago Douma2016-05-191-0/+185