[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: graph export - TIF -

From   Fred Wolfe <[email protected]>
To   [email protected]
Subject   Re: st: graph export - TIF -
Date   Thu, 10 Sep 2009 18:30:04 -0500

Thanks, Michael.

I didn't think of #1. Didn't know preview could read PS/EPS - thanks.

I tried #2 from EPS to tif. The file grew to 20 MB, but the journal
said it didn't look good.

I asked them whether they could use PDF. They said yes. So I exported
to pdf and it worked just fine!

Thanks for your useful suggestions, from which I have learned much.


On Thu, Sep 10, 2009 at 5:21 PM, Michael Hanson <[email protected]> wrote:
>  .
> Fred:
> It doesn't look like there are any -tif_options- of -graph export- that will
> help you.  However, you might be able to export the files as PDF or EPS and
> then convert them to TIFF -- assuming that the PDF or EPS output is at a
> higher DPI.  (I'm not sure about that;  you'll need to experiment.)
> Some potential ways to do the conversion:
> 1. Preview (included as part of Mac OS X)
> 2. GraphicConverter (3rd party application: <>)
> 3. sips (Unix command; standard with Mac OS X)
> Suggestions 1 and 2 are GUI-based and thus both easy to use and best if you
> only have a relatively small number of images to convert a relatively small
> number of times.  (That said, you may be able to create an Automator script
> -- particularly for Preview -- that could automate the process for a large
> number of files.  In fact, you could attach the Automator script to a folder
> so that any EPS and/or PDF file saved to a particular folder is
> automatically converted to TIFF format.)
> Suggestion 3 requires some level of comfort with the Unix CLI of Terminal on
> Mac OS X.  Type "man sips" at a Terminal prompt or look at
> <>.
>  N.B. the "dpiHeight" and "dpiWidth" image property keys.  (Disclaimer:  I
> have not tried this approach, and also may require some experimentation to
> get it right.)  Once you find the appropriate syntax of the sips command,
> you should be able to call it directly from Stata with the -shell- command
> (or the "bang": !).
> Of course, there is always option 4:  contact the editor of the journal and
> ask nicely if they have the ability to use another format that you _can_
> create within Stata.
> Hope this helps,
> Mike
> On Sep 10, 2009, at 5:10 PM, Fred Wolfe wrote:
>> A journal that has one of my papers wants the graphics in JPG or TIF
>> format. I am using Stata 11, MAC X 10.6. I can only export to the TIF
>> format.
>> I use the command:  graph export mygraph.tif, width(16000).
>> But I only get 72 DPI (dots per inch). They request at least 300 DPI.
>> Is there any way to get better detail in the Stata export? The width()
>> doesn't seem to make any difference.
>> Thanks,
>> Fred
> *
> *   For searches and help try:
> *
> *
> *

Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
NDB Office  +1 316 263 2125 Ext 0
Research Office +1 316 686 9195
[email protected]

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index