Comment 23 for bug 165952

Revision history for this message
Daniel Wagenaar (dawagenaar) wrote : Re: [Bug 165952] Re: png resolution not imported

It is not quite true that it only happens with images exported from
inkscape. Many other bitmaps in my collection have a resolution of
299.99 dpi according to libexif. I suspect there is some inappropriate
round-down happening in other parts of the tool chain. AFAIK exif stores
resolution as integer fractions, so I suspect somewhere the number 300.0
ends up being represented as 29,999/100 by whatever logic converts reals
to fractions in whatever exif library is used by my digital camera.

An opt-out would be a reasonable work-around, although I am hesitant to
add another little popup to the import process. Especially for new
users, I think it would be confusing to first be asked about link/embed
and then about resolution handling. Perhaps a single popup can be
devised that asks either or both questions depending on which feature is
on "always ask".