Il 26/05/2011 08:05, Xu Wang ha scritto:
-Interesting, I didn't know that the Mac OS Preview has a crop feature
that correctly extracts vector graphics.
The issue pointed out here seems a very common requirement, which I
tackled too many times in the past by using the image snapshot tool from
Acrobat Reader.
I just learned that, with Inkscape, you can open a .pdf, select a page,
and you get a vector rendering of it that can be edited. You can select
a portion (e.g., an image) and copy it to the clipboard.
Interestingly, if you paste that thing in LyX (and also in LibreOffice),
you get the <svg...> text :-(. You have to paste into a text-editor and
save as ".svg", then reimport as image :-(.
What's missing here, in order to paste it as a new vector image to be
included in the document ? Is that a matter of the (wrong) MIME type set
by Inkscape when copying ?
What do other developers think? Would it be worth to
(re-)implement this inside LyX?
probably, if that trick with Inkscape (or any other open-source tool out
there) above worked, this would not be needed.
T.