MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

ImageSize option when exporting PDFs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84846] ImageSize option when exporting PDFs
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Wed, 16 Jan 2008 23:00:09 -0500 (EST)

When exporting EPS graphics, the ImageSize option can be set in 
Export[].  These produce graphics of different sizes:

Export["gr.eps", Graphics[Circle[]], ImageSize -> 150]
Export["gr.eps", Graphics[Circle[]], ImageSize -> 300]

But this does not work for PDF.  These produce identical graphics:

Export["gr.pdf", Graphics[Circle[]], ImageSize -> 150]
Export["gr.pdf", Graphics[Circle[]], ImageSize -> 300]

A workaround is to use the option inside Graphics, like this:

Export["gr.pdf", Graphics[Circle[], ImageSize -> 150]]
Export["gr.pdf", Graphics[Circle[], ImageSize -> 300]]

but this is very inconvenient because it affects screen display too.

Is it intentional that ImageSize does not work with PDFs (if yes, why?), 
or is it a bug?

Szabolcs


  • Prev by Date: Point[] shapes at different sizes
  • Next by Date: Remove space from around elements of GraphicsColumn
  • Previous by thread: Re: Point[] shapes at different sizes
  • Next by thread: Remove space from around elements of GraphicsColumn