Pictogrammers / pictogrammers.com

Code for Pictogrammers.com
https://pictogrammers.com
75 stars 17 forks source link

Advanced export - empty png [Firefox] #36

Closed przemowcf closed 1 year ago

przemowcf commented 1 year ago

Hello,

Using advanced export generate only empty PNG image. obraz (87bytes 🤔 )

mririgoyen commented 1 year ago

In your screenshot, you're generating a 16x16 icon. 87 bytes is not empty, that's the size of an icon that small.

przemowcf commented 1 year ago

In your screenshot, you're generating a 16x16 icon. 87 bytes is not empty, that's the size of an icon that small.

Hello, I checked on Chrome and it work, but not on Firefox (102.7.0esr 64bit). On Firefox I get empty images:

ab-testing-custom(16px).png: ab-testing-custom(16px)

ab-testing-custom(24px).png: ab-testing-custom(24px)

ab-testing-custom(20px).png: ab-testing-custom(20px)

Here is file size comparison Chrome vs Firefox (that same: icon, size, color): obraz

I have updated title as this problem exists on Firefox only

mririgoyen commented 1 year ago

I've confirmed the empty PNG issue affecting Firefox only. I'll try and take a look this evening.

mririgoyen commented 1 year ago

This is fixed and deploying now.