Question: How to print locuszoom plot at 300 dpi or greater
1
gravatar for Vincent Laufer
3.4 years ago by
Vincent Laufer1.1k
United States
Vincent Laufer1.1k wrote:

Hello, I am using the locuszoom standalone to generate images for publication.

I need to be able to print them at 300 DPI.

I have looked through the documentation, but cannot seem to find an option to do so, even though this must be possible because such images are frequently published.

Can anyone offer help or advice on how to do this?

ADD COMMENTlink modified 10 months ago by RamRS22k • written 3.4 years ago by Vincent Laufer1.1k
4
gravatar for dariober
3.4 years ago by
dariober10k
WCIP | Glasgow | UK
dariober10k wrote:

If your images are in pdf you can use the convert tool in imageMagick like:

convert -density 300 in.pdf out.jpg

For the record, this is the command I happened to use to convert pdf figures to tiff suitable for submission to PlOS One:

convert -alpha off -trim -resize 1180x1180 -density 300 -depth 8 -compress lzw fig.pdf fig.tiff

Options explained:

-alpha off : Turn off transparency of background (Plos doesn't like it)
-trim      : Remove unused/white space around figures.
-resize    : Resize to i x j pixels. If the source image is not squared, make the 
             largest dim (h or w) these many pixels and 
             the other dim smaller. I.e. proportions are conserved.
-density   : Density as pixels/inch (DPI).
-depth     : Default 16, Plos wants 8
-compress  : Compression algorithms. lzw, required by Plos, makes the image much smaller!
ADD COMMENTlink modified 10 months ago by RamRS22k • written 3.4 years ago by dariober10k

Thank you so much. Will accept just as soon as I can test it

ADD REPLYlink modified 10 months ago by RamRS22k • written 3.4 years ago by Vincent Laufer1.1k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1520 users visited in the last hour