Re: EPS to WMF or other vector file format for MS WORD [was: Re: Quietly Distill a file]
Re: EPS to WMF or other vector file format for MS WORD [was: Re: Quietly Distill a file]
- Subject: Re: EPS to WMF or other vector file format for MS WORD [was: Re: Quietly Distill a file]
- From: Peter Waibel <email@hidden>
- Date: Tue, 3 Apr 2007 12:52:12 +0200
Hi Brett,
there is not much hope to find an easy eps-wmf convert solution!
EPS is "Encapsulated PostScript". It is made to be interpreted by a
postscript output device with a built-in postscript interpreter. It
is up o the creator how to use the postscript programing language to
create text, graphic and text for an eps file. This means the output
device or the converter must have a complete PS interpreter. Most PS
interpreters are made for raster output and I have never seen a ps to
'other graphic formats' converter that does a reliable job.
So I think if you can't use eps the best way would be to convert it
to an high-res image.
But I don't think that an JPEG is the appropriate format. JPEG is
good for landscape or portrait photographs, but not for line art. The
barcode is black & white. Only 1 bit per pixel is needed.
A 1 bit TIFF with LZW compression will have a far better quality
compared to a JPEG.
I'am not really sure about the file size, but I would bet the 1 bit
TIFF with LZW is equal or less compared to the JPEG.
Peter
Am 03.04.2007 um 09:29 schrieb Brett Conlon:
Thanks for your input Simon & kai!
The script below did the trick nicely, thanks!
However, the client has just informed me that their people need to
place the barcode file into a Word Doc so the PDF option is now out.
I did some tests and have found that wmf is a suitable format for
maintaining the barcode as vector (best for quality printing to
whatever device at whatever size) and is very small in file size
compared with a high-res JPG. I can drop the bar code file in
Illustrator and export to wmf.
To automate this process inside another script we run I was hoping
that Image Events could save as wmf but not so. Even Illustrator
isn't scriptable to save a wmf file.
Does anyone know of an automated way of creating a wmf file from an
eps.. or any vector based graphics file format acceptable to Word
(Mac/PC)?
Cheers,
Coj
kai <email@hidden>
Sent by: applescript-users-bounces
+brett.conlon=email@hidden
03/04/07 05:27 AM
Please respond to
applescript-users <email@hidden>
To
applescript-users <email@hidden>
cc
Subject
Re: Quietly Distill a file
On 2 Apr 2007, at 01:22, Brett Conlon wrote:
> I'd like to distill a file without Distiller having to launch. You
> can print to PDF and Distiller doesn't run, it uses the
> Distillerintf process. How can I tap into this or similar to have
> it produce the PDF "silently"?
Not sure if something like this will do exactly what you want, Coj -
but you might like to play around with it:
---------------
set f to choose file with prompt ¬
"Choose an EPSF file:" of type "EPSF" without
invisibles
set {name:n, name extension:{length:e}} to info for f
if e is 0 then set n to n & "."
set n to n's text 1 thru -(e + 1) & "pdf"
set p to choose file name default name n default location f ¬
with prompt "Choose a PDF name and location:"
do shell script "pstopdf " & quoted form of f's POSIX path & ¬
" -o " & quoted form of p's POSIX path
---------------
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40opix.de
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden