ThibG
4e9794f533
[Glitch] Fix client-side resizing of image uploads
...
Port f178a01c11
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
381dbb6569
[Glitch] Fix image uploads being perfectly white when canvas read access is blocked
...
Port 111a0628fc
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
6b2eefc7bf
[Glitch] Add WebP support
...
Port 5092d17f29
to glitch-soc
6 years ago
Thibaut Girka
1bae4c4f83
[Glitch] Resize images by area instead of fixed dimensions
...
Port WebUI part of 0fb0037ca7
to glitch-soc
6 years ago
Thibaut Girka
c2e528916c
Implement client-size image resizing from upstream
7 years ago
Eugen Rochko
2b97451168
Fix images resized in browser getting cropped ( #7514 )
...
Fix #7487
7 years ago
Yamagishi Kazutoshi
6832110af4
Correct rotate of image using EXIF ( #7422 )
7 years ago
Yamagishi Kazutoshi
0758b00bfd
Refactor resizeImage method ( #7236 )
...
- Use URL.createObjectURL (replace from FileReader)
- Use HTMLCanvasElement.prototype.toBlob
(replace from HTMLCanvasElement.prototype.toDataURL)
- Use Promise (replace callback interface)
7 years ago