Re: advice on how to implement my dream LyX feature

2011-06-06 Thread Xu Wang
On Sun, May 29, 2011 at 6:32 PM, Cyrille Artho wrote: > >>I think this is a useful addition for the cropping of images. The >>way I now have to crop an image is to guess some numbers, press >>Apply, check in the main LyX window whether it is correct, adjust >>the numbers, check..

Re: advice on how to implement my dream LyX feature

2011-05-29 Thread Cyrille Artho
I think this is a useful addition for the cropping of images. The way I now have to crop an image is to guess some numbers, press Apply, check in the main LyX window whether it is correct, adjust the numbers, check.. and so forth. It might be useful to select the region to cro

Re: advice on how to implement my dream LyX feature

2011-05-28 Thread Xu Wang
On Wed, May 25, 2011 at 11:22 PM, Vincent van Ravesteijn wrote: > If implemented within LyX, the user interface for including images would >> need some changes. Currently, image attributes are changed by clicking on it >> and changing numeric values in the dialog box. Cropping a PDF would require

Re: advice on how to implement my dream LyX feature

2011-05-26 Thread Tommaso Cucinotta
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 fro

Re: advice on how to implement my dream LyX feature

2011-05-25 Thread Cyrille Artho
One way how I could see it is to add a "Crop..." button in the image bounding box dialog, next to "Get from file". I think this would be reasonably well discoverable by a user. It also has the advantage that users who don't know a PDF viewer that can crop PDFs can use it directly. Then, ther

Re: advice on how to implement my dream LyX feature

2011-05-25 Thread Vincent van Ravesteijn
> > If implemented within LyX, the user interface for including images would > need some changes. Currently, image attributes are changed by clicking on it > and changing numeric values in the dialog box. Cropping a PDF would require > the ability to manipulate it directly, at least to a basic degr

Re: advice on how to implement my dream LyX feature

2011-05-25 Thread Xu Wang
Cyrille, thank you for the reply and the explanations! See my comments below On Wed, May 25, 2011 at 10:34 PM, Cyrille Artho wrote: > Dear Xu, > I think this is a useful feature, but it would be best implemented as an > enhancement to an existing open source PDF viewer (such as xpdf or Okular).

Re: advice on how to implement my dream LyX feature

2011-05-25 Thread Cyrille Artho
Dear Xu, I think this is a useful feature, but it would be best implemented as an enhancement to an existing open source PDF viewer (such as xpdf or Okular). LyX users are not the only ones who would sometimes like to copy parts of a PDF (especially vector figures in a PDF). Maybe some existin