Exporting an .ai file to a bitmap file
In Illustrator Scripting (VBscripting), how can you export an ai file to a bitmap file?
In Illustrator you can open an ai file and by selecting the Export option you have a choice of formats and one of them is BMP. How can this be done in scripting? I did look at the AIExportType, but BMP is not in the list.
aiJPEG = 1
aiPhotoshop = 2
aiSVG = 3
aiPNG8 = 4
aiPNG24 = 5
aiGIF = 6
aiFlash = 7
aiAutoCAD = 8
I will also need to do this same method by Exporting to an eps file.
The task is the following:
When a client uploads an image file, we need to automatically export the file to bmp and to esp, thus having 3 files (original upload, bmp, and esp). The file types that we are exporting, so far, will be ai, esp, and pdf (more to follow I am sure).
We also need to get information about each file.
Is it vector or a bitmap?
Color: RGB, CMYK, or Pantone?
Is there text or curves or both?
What is the DPI resolution?
What is the image size?
Any help would be beneficial.
Thanks,
Tom
