Commit Graph

39 Commits (ba94de2510b3858f10d60f0230a58b1252346372)

Author SHA1 Message Date
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 4 years ago
J0WI 110ea0df46 Allow empty mimeType 4 years ago
J0WI 1dd3afefcd Add type hints 4 years ago
J0WI 53994f600d Fix redundant condition 4 years ago
J0WI 40166ddc0a Remove obsolete GD function overwrites 4 years ago
John Molakvoæ d27a39271e
getAppValue expects string 4 years ago
Git'Fellow c7e2787300
Default Jpeg quality to 80 4 years ago
Varun Patil 48917e718e Interlace all output JPEG 4 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 5 years ago
Côme Chilliet ab3a1d5706
Fix typing problems in OC_Image 5 years ago
Côme Chilliet d537226368
Avoid calling image* methods on boolean 5 years ago
szaimen 3ac316b77f fix imagecreatetruecolor() error 5 years ago
Côme Chilliet 3631789651
Fix resource usages in OC_Image 5 years ago
Daniel Kesselberg 60a7f5c53e
Remove unused method 5 years ago
acsfer 280dd851b3
Avoid usage of Nextcloud API, use PHP function 5 years ago
Simon Spannagel 58f55975e0 Fix #20913: Check image resource before attempting to preserve alpha 5 years ago
acsfer a3c69b8310
Fix path of `file_get_contents` 5 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 6 years ago
Roeland Jago Douma 7f61535a1a
GD images 6 years ago
J0WI 68ce17e59b Unify links to php.net 6 years ago
Morris Jobke 46525f8639
Change 0 to null to properly encode image to BMP if the first pixel is black 6 years ago
Morris Jobke 27e7332a9c
Cast float/char to int to avoid invalid scalar argument warning 6 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 7 years ago
Samuel CHEMLA 94eb77a535 Fix sanity checks #16963 7 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 9 years ago
Roeland Jago Douma faa68b28cb
Only return 1 type 9 years ago
Roeland Jago Douma 5b21650097
Don't lie about the preview mimetype 9 years ago
Morris Jobke dbb034f903
Remove unused mimetype detection method in OC_Image 9 years ago
Morris Jobke 31c5c2a592
Change @georgehrke's email 9 years ago
Morris Jobke 0eebff152a
Update license headers 9 years ago
Julius Härtl 4cfa1c66b8
Doc: Fix phpDoc issues 9 years ago
Robin Appelman 4dfd90abc4
better handling of preview generation errors 9 years ago