MathGroup Archive 2009

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

Search the Archive

Exports to eps, pdf ImageSize

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99841] Exports to eps, pdf ImageSize
  • From: bzgragge at hsr.ch
  • Date: Fri, 15 May 2009 06:33:08 -0400 (EDT)

Hello

Exports of a graphics expression to .pdf (and also .eps) create bigger images when the files are sent to a printer or a viewer than raster graphics as .png, .gif etc. or scalable vector graphics .svg. Setting the ImageSize does not solve the problem, unfortunately.

gr = Plot[Cos[x], {x, -2, 2}];
Export["C:\\test1.pdf", gr, ImageSize -> {360, 224}];
Export["C:\\test1.eps", gr, ImageSize -> {360, 224}];
Export["C:\\test1.jpg", gr, ImageSize -> {360, 224}];
Export["C:\\test1.gif", gr, ImageSize -> {360, 224}];

I also tried many options like ImageMargins, ImagePadding, PlotRangePadding, PlotRange, PlotRangeClipping etc. without success.

Why is it that .pdf and .eps create bigger images and how can I compute as exactly as possible the ratios of these relative enlargements? The problem arises in Version 5, 6 and 7 and on different machines (Windows XP, Switzerland).

Bernhard Zgraggen, HSR


  • Prev by Date: Re: saving initialization cells as a .m file
  • Next by Date: Re: Random choice
  • Previous by thread: Re: FinancialData and disjoint result sets from range and
  • Next by thread: Re: Exports to eps, pdf ImageSize