signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.63k stars 2.66k forks source link

Sticker Creator: "Error processing image" #3894

Closed Poid-bit closed 4 years ago

Poid-bit commented 4 years ago

Bug Description

Unable to import stickers into the sticker pack creator

Steps to Reproduce

  1. Create/upload sticker pack
  2. Import png or webp file with transparent background and the correct sizes

Actual Result: "Error processing image"

Expected Result: Imported image

Screenshots

grafik grafik

Platform Info

Signal Version: v1.30.0-beta.6

Operating System: Windows 10 Pro 1909

Linked Device Version: 4.52.4

Link to Debug Log

emilasdf commented 4 years ago

Hi, I have the same problem on linux kubuntu 18.04

https://debuglogs.org/16373633eb5acfb9166199275c649633fe63b60a3056e3587a6f5aa41c0ef053

evilcel3ri commented 4 years ago

Hello, same on ubuntu 19.10

https://debuglogs.org/80c74c0b68aa6343aaa72807da9b77b22f687ca091f63221afe00ac3b864b4ce

scottnonnenberg-signal commented 4 years ago

Is there anything you can say about which image files work and which don't?

kenpowers-signal commented 4 years ago

Hi, @Poid-bit, @emilasdf, and @christalib -- would it be possible to zip up some images which aren't working for you and either upload them here or email them to ken@signal.org? Image files which aren't working would be greatly helpful for debugging this issue.

Poid-bit commented 4 years ago

@kenpowers-signal @scottnonnenberg-signal SomeStickers.zip

Crinfarr commented 4 years ago

I'm having the same problem on windows 10, I'll update if I can fix it on a fork

gfs commented 4 years ago

I get this error message with every image, including ones I successfully used in sticker packs in previous versions.

Crinfarr commented 4 years ago

Here's a link to a beta with a working sticker creator. I believe that the issue is that part of the image processing isn't being done asynchronously, but I don't have a very thorough knowledge of javascript, so take that with a grain of salt.

@Poid-bit: if you're desperate, older betas function.

evilcel3ri commented 4 years ago

Hi, @Poid-bit, @emilasdf, and @christalib -- would it be possible to zip up some images which aren't working for you and either upload them here or email them to ken@signal.org? Image files which aren't working would be greatly helpful for debugging this issue.

It is as @gfs said, every image. I tried to grab some stock images in .png from the Internet to see it is wasn't my crops that broke. But I can send some sample later on today.

Here's a link to a beta with a working sticker creator. I believe that the issue is that part of the image processing isn't being done asynchronously, but I don't have a very thorough knowledge of javascript, so take that with a grain of salt.

Sweet, but unfortunately it seems to be an .exe files. Do you have a version that'd work for linux systems?

Ndr6 commented 4 years ago

Reproduced on Ubuntu Budgie 19.10 on Signal Desktop (apt) 1.30.0-beta6 All images give the "Error processing image" message. I also noticed the sticker pack creator window does not follow the dark theme setting of the main window, and it takes longer than usual to load

https://debuglogs.org/a1fff800b0843db6341638e6ba8ccbb8127ad69806c3fae221ed8ba3c2cf4fce

kenpowers-signal commented 4 years ago

Hey, everyone. Thanks for your patience. This issue will be fixed in the very next beta release!

gabrc52 commented 3 years ago

I'm still getting this error, Signal v1.40.1

scottnonnenberg-signal commented 3 years ago

@gabrc52 Please enter a new bug, with your debug log and ideally the image that you're failing to make a sticker with.

gabrc52 commented 3 years ago

@scottnonnenberg-signal I believe the bug is #5008; it doesn't let me upload any image and the log shows Error processing image: {}.