Barış Soner Uşaklı
71ccd67665
closes #6722
...
calculate size of base64 image from buffer, still not perfect but better than string.length
6 years ago
Barış Soner Uşaklı
b7ead6dc9c
Replace jimp with sharp ( #6774 )
...
* add probe image size and max image size
* replace jimp and image-probe with sharp
* better name for test
* resize with just path
* resize thumb inplace
* use filename
6 years ago
Barış Soner Uşaklı
75e2ab8957
remove unnecessary code
7 years ago
Barış Soner Uşaklı
dcb6af5768
closes #6373
7 years ago
Peter Jaszkowiak
c47c47f7e3
Use less memory to build translation files ( #6070 )
...
* Change languages build to use less memory
Add graceful-fs so no ned to worry about fs limits
* Specify encoding for fs.readFile
Use eachLimit since graceful-fs handles that now
7 years ago
Peter Jaszkowiak
da9da8190f
Bump dependencies
...
Bumping eslint & configs meant making some linting fixes
For future reference, the `xmlhttprequest-ssl` library must be of equal versioning to the one in `engine.io-client`, otherwise it won't be deduped which causes the socket.io tests to fail
7 years ago
manolino
9cb098bb0b
Implements Jimp exitRotate() new method (jimp 0.2.28) to sove incoherent rotations when scaling images.
8 years ago
Baris Usakli
11d9410229
fix test and image normalize test
8 years ago
Peter Jaszkowiak
dd2b930824
Resolve merge conflicts, minify only `.js` files
8 years ago
barisusakli
ef90702049
closes #5459
8 years ago
Peter Jaszkowiak
a5a3f3089a
ESlint no-mixed-operators
8 years ago
Peter Jaszkowiak
2ba46808a1
ESlint one-var, fix comma-dangle
8 years ago
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
8 years ago
Peter Jaszkowiak
d31499a860
Fix tests rewriting `logo.png`
8 years ago
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
8 years ago
HeeL
3fa1c1f927
Fix space-infix-ops linter rule
8 years ago
barisusakli
4aac8bbe6a
closes #2222
9 years ago
barisusakli
acc030e6da
added filter:image.size
...
fix uploading of gifs if imagemagick plugin is installed but no image
upload plugins are present.
9 years ago
barisusakli
fea18a050f
closes #4590
9 years ago
Julian Lam
5858d914bf
closes #4550
9 years ago
barisusakli
96a3db6365
only send back err
9 years ago
Julian Lam
ebed9d641c
Add new ACP option to upload Touch Icon, #3668
...
Also added a number of fixes for mobile enhancements, such
as serving a manifest.json file for Android devices, and
serving proper link tags for all uploaded touch icons.
This commit also creates a new template helper for link tags.
9 years ago
Julian Lam
bac04d7ee6
Replace lwip library with jimp native lib for image manipulation
9 years ago
barisusakli
a14810a2e0
wrap lwip.open in try catch, it throws on unknow types, closes #3632
9 years ago
barisusakli
830d27caef
dont ignore error
10 years ago
Julian Lam
e523ef7c17
added plugin hooks so that imagemagick can still be called, as a plugin, for image manipulation tasks, falling back to using lwip
10 years ago
Alpacatty
37ad81a2b0
Swap out ImageMagick for lwip
10 years ago
barisusakli
4e4a583d9d
took out the meta config check from image.js
11 years ago
Julian Lam
4e0ccbf0c6
fixed #1515
11 years ago
barisusakli
8ce3e44d7b
closes #1418
11 years ago
Micheil Smith
3e82cab398
Add missing new lines at end of files.
11 years ago
barisusakli
6774f0f52f
fit image to 128x128 and keep aspect ratio, closes #1240
11 years ago
Baris Soner Usakli
096f352c82
closes #1130
11 years ago
Baris Soner Usakli
5aed1208c0
lol this was saving to 'uploadPath'
11 years ago
Baris Soner Usakli
20ec8ca768
added image file
11 years ago