"convert" chops off part of postscript file?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers "convert" chops off part of postscript file?
# 1  
Old 08-14-2009
"convert" chops off part of postscript file?

I have images in PS that I want to convert to JPG (unfortunately, I need to use them in Powerpoint! Smilie). The problem is that the edges of the image get chopped off when I use:

Code:
convert filename.ps filename.jpg

So, for example, in my plots, the top and bottom labels for the x-axis are missing, which is problematic.

Any ideas what to do about this?

---------- Post updated at 02:32 PM ---------- Previous update was at 01:34 PM ----------

I should say:

I just tried this using ghostscript and it works great, except for one thing: it takes my landscape plot and puts it on a portrait page, so there's a ton of whitespace! I can remove it manually but I have a lot of images so if there's a command to change the orientation, I'd appreciate it Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Convert "hex" foldername to "ascii"

So, I have a folder, containing subdirs like this: 52334d50 52365245 524b4450 524f3350 52533950 52535050 52555550 now I want to go ahead and rename all those folder: hex -> ascii (8 Replies)
Discussion started by: pasc
8 Replies

2. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

3. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

4. Shell Programming and Scripting

finding the strings beween 2 characters "/" & "/" in .txt file

Hi all. I have a .txt file that I need to sort it My file is like: 1- 88 chain0 MASTER (FF-TE) FFFF 1962510 /TCK T FD2TQHVTT1 /jtagc/jtag_instreg/updateinstr_reg_1 dff1 (TI,SO) 2- ... (10 Replies)
Discussion started by: Behrouzx77
10 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. Shell Programming and Scripting

How to convert "Nov 9 11:35:28 2009" to "200911091135"

Using AIX 5.3 and /user/bin/ksh. Anyone have a quick way to convert the string date Nov 9 11:35:28 2009 to 200911091135 I know I could create a table of months and find the month number by searching the list, but I was hoping there was some handy little known command to do this... (15 Replies)
Discussion started by: troym72
15 Replies

7. Shell Programming and Scripting

"sed" to check file size & echo " " to destination file

Hi, I've modified the syslogd source to include a thread that will keep track of a timer(or a timer thread). My intention is to check the file size of /var/log/messages in every one minute & if the size is more than 128KB, do a echo " " > /var/log/messages, so that the file size will be set... (7 Replies)
Discussion started by: jockey007
7 Replies

8. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

9. UNIX for Dummies Questions & Answers

Convert "text" to "packed-decimal"?

Is there a way with HP-UX Release 10.20 (but going to HP-UX 11) to convert a regular "text" file to a packed data format (such as is created by a Cobol program)? (2 Replies)
Discussion started by: HuskyJim
2 Replies
Login or Register to Ask a Question
MINCPIK(1)							 MINC User's Guide							MINCPIK(1)

NAME
mincpik - generate images from minc files SYNOPSIS
mincpik [options] <infile>.mnc [<image.type>] DESCRIPTION
mincpik generates image files from MINC volumes using the Imagemagick convert utility. For a complete list of output file types see the convert man pages. Currently if there is a time dimension in the file the image will only produced from the first time point General options -verbose print out extra information -clobber overwrite the output file if it exists already -fake usually used in combination with -verbose to echo commands only -slice slice number to get (note this is in voxel co-ordinates) -scale scaling factor for resulting image, by default images are output at twice their original resolution -width autoscale the resulting image to have a fixed image width (in pixels) -depth bit-depth for resulting image 8 or 16 (MSB machines only) -title add a title to the resulting image, if just this option is specified the text used for the title is the name of the input image file. -title_text specify the title text to use. This option must be used in conjunction with -title Image range and lookup table options -range min max valid range of values to use from MINC file -image_range min max range of image values to use for pixel intensity -auto_range automatically determine image range using a 5 and 95% PcT. (histogram) -lookup arguments arguments to pass to minclookup Slicing options -transverse get a transverse slice -axial synonym for transverse -coronal get a coronal slice -sagittal get a sagital slice -allthree this option is deprecated, use -triplanar instead Triplanar options -triplanar create a triplanar view of the input MINC file -tilesize pixel size for each image in a triplanar -sagittal_offset offset the saggital slice from the centre in the triplanar -vertical create a vertical triplanar series of images (this is the default) -horizontal create a horizontal triplanar instead of a vertical one Generic options for all commands: -help Print summary of command-line options and abort. AUTHOR
Andrew Janke - <a.janke@gmail.com> SEE ALSO
minclookup(1), convert(1), display(1). $Date: 2009-08-11 13:49:19 $ MINCPIK(1)