Pictogrammers / pictogrammers.com

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

Advanced PNG Export - wrong icon dimension #33

Closed FrancoTampieri closed 1 year ago

FrancoTampieri commented 1 year ago

Hi the export of the icon is wrong, look at this sample png:

heart-box-outline-custom

The icon would be 256x256 png image but the result is a 12x12 pixels icon on a 256x256 layer.

Kind Regards

mririgoyen commented 1 year ago

Hello, can you please provide reproduction steps and the browser/OS you are seeing the issue on?

FrancoTampieri commented 1 year ago

Sure!

I have macOS Ventura 13.1, I use Safari 16.2

The steps:

(like the image I attached now)

Screenshot 2023-01-29 alle 15 48 18

Of course with the previous version of the website that's works like a charm

Kind Regards

Franco

mririgoyen commented 1 year ago

Thanks for the details! I will investigate this in the next few days.

bikathi commented 1 year ago

I am also noticing that in my browser the size of the icon comes up like 2px. I am using the tutorial provided for installing the icons for VueJS, and using the <svg-icon> tag. See here: small_icon

That small dot up there is the icon I am getting

mririgoyen commented 1 year ago

@Q-T5 Unless you're getting the icon from Advanced Export, that is unrelated to this issue. Please open an issue on the vue-icon package.

@FrancoTampieri I can reproduce on Safari, so I'll work on a fix soon. In the meantime, you can use Chrome which is unaffected by this issue.

bikathi commented 1 year ago

@mririgoyen Thanks for the speedy response. I am using Brave. Let me try finding other workarounds

FrancoTampieri commented 1 year ago

@mririgoyen that sound great! Yes in the meantime, as u suggest, I will use chrome 😊

mririgoyen commented 1 year ago

This should be resolved. The site is building/deploying which takes about 45m.

mririgoyen commented 1 year ago

Confirmed I'm able to export icons of correct size in Safari after deployment.