Commit Graph

46 Commits (9b84831c8d0c1d715cd42fa3e4e01ac8a59fa369)

Author SHA1 Message Date
Andy Scherzinger dae7c159f7
chore: Add SPDX header 2 years ago
provokateurin ce53a7ad81
fix(OC_Image): Set correct return type for exif_imagetype stub 2 years ago
Côme Chilliet 5d1ca7e25a
fix: Drop workarounds for unsupported obsolete PHP versions 2 years ago
Côme Chilliet 6d7ff2e85a
fix: Fix typing issues related to resource migration 2 years ago
Côme Chilliet ab6afe0111 fix: Fix new psalm errors from update 2 years ago
Côme Chilliet ec5133b739 fix: Apply new coding standard to all files 2 years ago
Richard Steinmetz e9c0d0e67f
fix(preview): webp preview format 2 years ago
Git'Fellow 9d70fd3e64
Silent imagecreatefromstring() errors 3 years ago
Marcel Klehr 4a2accaa27 fix OC_Image: Prevent E_WARNING from getimagesize* 3 years ago
Côme Chilliet f5c361cf44
composer run cs:fix 3 years ago
Simon L bfb3b2af9f increase preview_max_memory and make it easier to debug 3 years ago
J0WI 110ea0df46 Allow empty mimeType 3 years ago
J0WI 1dd3afefcd Add type hints 3 years ago
J0WI 53994f600d Fix redundant condition 3 years ago
J0WI 40166ddc0a Remove obsolete GD function overwrites 3 years ago
John Molakvoæ d27a39271e
getAppValue expects string 3 years ago
Git'Fellow c7e2787300
Default Jpeg quality to 80 3 years ago
Varun Patil 48917e718e Interlace all output JPEG 3 years ago
Git'Fellow 8d876358dd
Move Gd failed operations to debug level 4 years ago
Joachim Bauch d3d65e5c88
Prevent loading images that would require too much memory. 4 years ago
Côme Chilliet 8504f0a59e
Avoid assignment in if clause 4 years ago
Côme Chilliet ab3a1d5706
Fix typing problems in OC_Image 4 years ago
Côme Chilliet d537226368
Avoid calling image* methods on boolean 4 years ago
szaimen 3ac316b77f fix imagecreatetruecolor() error 4 years ago
Côme Chilliet 3631789651
Fix resource usages in OC_Image 4 years ago
Daniel Kesselberg 60a7f5c53e
Remove unused method 4 years ago
acsfer 280dd851b3
Avoid usage of Nextcloud API, use PHP function 4 years ago
Simon Spannagel 58f55975e0 Fix #20913: Check image resource before attempting to preserve alpha 4 years ago
acsfer a3c69b8310
Fix path of `file_get_contents` 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Roeland Jago Douma 6d4afca7ac Add support for webp 5 years ago
Christoph Wurst 9ce3ea3368
Update license headers 5 years ago
Roeland Jago Douma 7f61535a1a
GD images 5 years ago
J0WI 68ce17e59b Unify links to php.net 5 years ago
Morris Jobke 46525f8639
Change 0 to null to properly encode image to BMP if the first pixel is black 5 years ago
Morris Jobke 27e7332a9c
Cast float/char to int to avoid invalid scalar argument warning 5 years ago
Roeland Jago Douma 0c35aaba29
Fix OC_Image new resize functions 6 years ago
Christoph Wurst a7c8d26d31
Add visibility to all properties and move static keyword 6 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Robin Appelman 7d386872e5
optimize batch generation of previews 6 years ago
Christoph Wurst 1e086064f5
Move legacy classes from PSR0 to PSR4 6 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Samuel CHEMLA 94eb77a535 Fix sanity checks #16963 6 years ago
Morris Jobke a661f043e1
Remove unneeded semicolon and parentheses 8 years ago
Morris Jobke 9ff51aafc5
Use index based string access for substr with length of 1 8 years ago
Morris Jobke 3d4c698f44
Improve OC_Image code to not guess the type of input, but actually request the specific methods to be called 8 years ago
Morris Jobke e4b3ee8d8f
Fix float/integer handling in image API 8 years ago