hi Vincent,

> + same question for image height & width... I'm asking these questions
> > because I think that sort of information should be preserved,
> > otherwise the
> > document will look really strange after import.
>
> This is a bit tricky... The real answer (which is probably hard to
> implement is):
>
> * Remove height and width for images if they match the original image
> size
> * Otherwise keep them
>

Well, I don't think there is an easy way to figure out the actual dimensions
of an image without using some image manipulation code. At least we'll have
to load the image into some kind of structure. But this can be costly in
terms of performance specially when there are lost of images embedded in the
document.

Thanks.

- Asiri


>
> Thanks
> -Vincent
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to