This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Adobe Illustrator for Windows > March 2006 > Export to Jpeg with VB script





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Export to Jpeg with VB script
All

2006-03-09, 6:30 pm

I need to export a document to a jpeg file with a resolution of 300dpi.
When I use the Document Export Method the resulting jpeg has a
resolution of 96dpi.
Where can I set the output reolution for the jpeg export?

this is my code:

Dim outFile As Document
Dim exportOpt As ExportOptionsJPEG
Dim path As String
path = <path2ai>
Set outFile = Application.Open(path)
Set exportOpt = New ExportOptionsJPEG
exportopt.QualitySetting = 100
outFile.Export <jpegpath>, aiJPEG, exportOpt

Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews