Results 1 to 10 of 14

Thread: Resizing Eps/ps files

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Szeged Hungary
    Beans
    54
    Distro
    Lubuntu Development Release

    Resizing Eps/ps files

    Hi people

    To publish a scientific article, I need to rescale all my eps figures to the appropriate size. I've tried googling around for ghostscript solution not no avail. Importing into inkscape isn't an option as it doesn't successfully import the figure

    Does anyone have any suggestions or recipes

    Cheers

    Andy
    Last edited by vancheese; June 14th, 2010 at 08:12 AM. Reason: I pushed enter too soon before post was finished!

  2. #2
    Join Date
    Oct 2007
    Location
    Oregon, USA
    Beans
    1,534

    Re: Resizing Eps/ps files

    If you're using LaTeX it's trivial. Just do something like this:

    Code:
      \includegraphics[width=60mm]{myfig.eps}

  3. #3
    Join Date
    Oct 2005
    Location
    Szeged Hungary
    Beans
    54
    Distro
    Lubuntu Development Release

    Re: Resizing Eps/ps files

    Yes, I know, but the journal wants the picture files submitted in the right size!
    For 95% of the time, that would work perfectly

  4. #4
    Join Date
    Oct 2007
    Location
    Oregon, USA
    Beans
    1,534

    Re: Resizing Eps/ps files

    What do you mean by the right size? Do you mean the embedded preview image? Or are they not able to process eps files?

    I don't really understand why setting the width of the graphic isn't acceptable here.

  5. #5
    Join Date
    Nov 2009
    Location
    East Anglia
    Beans
    415
    Distro
    Xubuntu

    Re: Resizing Eps/ps files

    Quote Originally Posted by vancheese View Post
    Yes, I know, but the journal wants the picture files submitted in the right size!
    For 95% of the time, that would work perfectly
    How about something like:
    Code:
    pstops 1:0@0.8 infile.ps outfile.ps
    which would resize all pages in infile.ps to 80% of their original size in outfile.ps.

    H

  6. #6
    Join Date
    Oct 2007
    Location
    Oregon, USA
    Beans
    1,534

    Re: Resizing Eps/ps files

    Oh, that's a good program to know about.

    Still, I don't get why scaling inside of the LaTeX document isn't acceptable. I haven't heard of this before. Asking you to scale the EPS sounds a lot like someone asking you to scale a TrueType font.

  7. #7
    Join Date
    Jan 2008
    Beans
    20

    Re: Resizing Eps/ps files

    Maybe Image Magick would be an option for the job. Open your image

    Code:
    display myimage.eps
    Resize and export it as a eps file.

  8. #8
    Join Date
    Oct 2005
    Location
    Szeged Hungary
    Beans
    54
    Distro
    Lubuntu Development Release

    Re: Resizing Eps/ps files

    Quote Originally Posted by Chronon View Post
    .

    Still, I don't get why scaling inside of the LaTeX document isn't acceptable. I haven't heard of this before. Asking you to scale the EPS sounds a lot like someone asking you to scale a TrueType font.
    I know, But this journal is a bit silly, I am using their latex style file and it differs from what they ask from in the authors' guidelines
    Last edited by vancheese; June 16th, 2010 at 01:05 PM. Reason: improving the grammar

  9. #9
    Join Date
    Nov 2006
    Beans
    186

    Re: Resizing Eps/ps files

    Quote Originally Posted by vancheese View Post
    Hi people

    To publish a scientific article, I need to rescale all my eps figures to the appropriate size. I've tried googling around for ghostscript solution not no avail. Importing into inkscape isn't an option as it doesn't successfully import the figure

    Does anyone have any suggestions or recipes

    Cheers

    Andy
    Install ImageMagick and type

    convert myfile.eps -resize 75% myfile-smaller.eps

    (or whatever)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •