I try to paste picture of 1300 width pixels. (and height of 25px)
Take picture of 1300 width pixel (and height of 25px)
Or use my picture for testing:
Display picture in chat.
No picture and error in log.
Exception while invoking method 'sendFileMessage' Error: reducev: image has shrunk to nothing => awaited here: at Function.Promise.await (/app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12) at Promise.asyncApply (/app/bundle/programs/server/packages/rocketchat_file-upload.js:1477:49) at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
@rocket-cat label add "type: bug"
I can confirm this on 0.64.0-rc.1
. I guess resizing images that have extreme ratios leads to one side of the image being zero when generating the preview.
Cheers
Thomas
K岷縯 n峄慽
-
-
K岷縯 n峄慽
Mobile
K岷縯 n峄慽 t脿i kho岷g google
I'd seen this on 0.63 but thought it was an isolated incident ion my box.
Same problem in 0.65.2.
Most helpful comment
K岷縯 n峄慽 t脿i kho岷g google