Skip navigation
Currently Being Moderated

Convert Image Using Script (JSX)

Jul 12, 2012 10:16 PM

Tags: #script #javascript #actionscript #learning_scripting #javacsript #scripting #jsx

Hi All,


I want to convert a AI file into a JPEG by using JSX(java script)

i am able to change its file type but having some problem with resizing

can anyone please suggest me some solution.



  • Currently Being Moderated
    Jul 13, 2012 1:40 AM   in reply to Harsh V Sharma

    You can easily export a document to *.jpeg format using extendscript… There are options for horizontal and vertical scales what you can't alter by script is the resolution always 72dpi

    Mark as:
  • Currently Being Moderated
    Jul 13, 2012 4:44 AM   in reply to Harsh V Sharma

    I don't understand what exactly you are doing here? You have created a loop but only change the first raster[0]… you export after the loop so only one file… There are option to size in the export and you have not used them. I think a better description or a screen grab would help…

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points