Cropped pdf files as output
Dear All
Is there some way of having Inkscape outputting a pdf file already cropped?
Thanks in advance,
Paul
On 7/12/06, Ulf Erikson <ulferikson@...155...> wrote:
Is there some way of having Inkscape outputting a pdf file already cropped?
What kind of cropping are you looking for? It is normally cropped to the page size (which you can change in the Document Property dialog under the Page tab.)
Thanks, Ulf. The cropping that I am looking for is the one which corresponds to the smallest rectangle that contains the picture. This kind of cropping is particularly useful for people who insert Inkscape pdf pictures into LaTeX documents. It is something in line with the autocrop feature of Gimp.
Paul
If you can use PNG instead of PDF for importing into your LaTeX documents, you could export as bitmap and specify "drawing" instead of "document". Alternatively you can set the document size to the same as the drawing.
But I do wish there were a crop command: it would save a lot of fiddling around.
Steve
--- Vimia GmbH Postfach 163 8143 Stallikon 044 777 9782
On 12 Jul 2006, at 13:09, Paul Smith wrote:
On 7/12/06, Ulf Erikson <ulferikson@...155...> wrote:
Is there some way of having Inkscape outputting a pdf file already cropped?
What kind of cropping are you looking for? It is normally cropped to the page size (which you can change in the Document Property dialog under the Page tab.)
Thanks, Ulf. The cropping that I am looking for is the one which corresponds to the smallest rectangle that contains the picture. This kind of cropping is particularly useful for people who insert Inkscape pdf pictures into LaTeX documents. It is something in line with the autocrop feature of Gimp.
Paul
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
On 7/12/06, Stephen Winnall <stephen.winnall@...1452...> wrote:
If you can use PNG instead of PDF for importing into your LaTeX documents, you could export as bitmap and specify "drawing" instead of "document". Alternatively you can set the document size to the same as the drawing.
The point is that PNG format is not scalable... There is a workaround: save the picture as PS and then use ps2epsi, and the result is an autocropped EPS picture; then, you can use epstopdf to get an autocropped pdf picture, without loosing the scalability property. However, the problem is that, if the picture had transparency features, they were lost in the middle of the process; only the pdf pictures produced directly with Inkscape preserve the transparency features. Therefore, the autocrop feature is essential!
Paul
Paul Smith wrote:
On 7/12/06, Stephen Winnall <stephen.winnall@...1452...> wrote:
Alternatively you can set the document size to the same as the drawing.
Which you do by: Ctrl+A - select all Shift+Ctrl+D - Document properties Alt+F - Fit page to selection
features. Therefore, the autocrop feature is essential!
The steps above give the same result
Ctrl+A - select all
Just to butt in, you may want ctrl-shift-a for 'select all objects in all layers'.
On 7/12/06, Ulf Erikson <ulferikson@...155...> wrote:
Alternatively you can set the document size to the same as the drawing.
Which you do by: Ctrl+A - select all Shift+Ctrl+D - Document properties Alt+F - Fit page to selection
features. Therefore, the autocrop feature is essential!
The steps above give the same result
Thanks, Ulf and Daniel. It works!
Paul
On Wed, July 12, 2006 12:50 pm, Stephen Winnall wrote:
If you can use PNG instead of PDF for importing into your LaTeX documents, you could export as bitmap and specify "drawing" instead of "document". Alternatively you can set the document size to the same as the drawing.
But a bit of a shame to start from a vector drawing to produce a vector document via a bitmap document, no?
Fred
On Wed, July 12, 2006 12:09 pm, Paul Smith wrote:
On 7/12/06, Ulf Erikson <ulferikson@...155...> wrote:
Is there some way of having Inkscape outputting a pdf file already
cropped?
What kind of cropping are you looking for? It is normally cropped to the page size (which you can change in the Document Property dialog under the Page tab.)
Thanks, Ulf. The cropping that I am looking for is the one which corresponds to the smallest rectangle that contains the picture. This kind of cropping is particularly useful for people who insert Inkscape pdf pictures into LaTeX documents. It is something in line with the autocrop feature of Gimp.
Also known as the bounding box. I export to eps and the do epstopdf. Not very convenient but works. And given that I often use psfrag, I have to do that anyway.
Hope this helps.
Fred
participants (5)
-
Daniel Hulme
-
Fred Labrosse
-
Paul Smith
-
Stephen Winnall
-
Ulf Erikson