HappenApps / Quiver

Quiver documentation and issue tracker
2.26k stars 109 forks source link

Image import/paste to Quiver has incorrect dimension #1368

Open macdevign opened 5 years ago

macdevign commented 5 years ago

I have import/paste the attached image having width: 155 height: 47 pixels dimension. And all the applications that I try on (etc Apple Notes, Apple Pages, Apple Preview display the image in correct dimension) . Only in Quiver, the file dimension end up 3x the dimension as extract from the content.json file => 1627448F10E5D340ADC8453686E8BDBE.jpg is width=464 height=142

This makes the image display 3x the size and pixelated in Quiver.

1627448F10E5D340ADC8453686E8BDBE

Is this a bug in Quiver or just some setting issue ? Is there a solution for this ?

thank

ylian commented 5 years ago

It's a Quiver bug. Calculation of image sizes didn't properly take into account the pixel resolution. Will fix.