The first-order fix is to look at the pHYs section in the PNG and get
the physical resolution from that, and use it. This is great, but
lots and lots of PNGs don't have any physical resolution information.
So the problem remains that there is no one correct size for those
images. Should AbiWord assume 72 dpi on those images? Should it
always insert images at a specific size -- say 1 inch wide? Should it
guess at a size based on the resolution of the image and the paper
width and use something that isn't absurdly big or small?
I think whichever option is chosen, there still needs to be some way
to resize without editing the XML, so there should be handles or
something on the image.
Thoughts?
-- Matt Kimball mkimball@xmission.com