Is it possible to generate a thumbnail of an inDesign CS5 Document using jsx? -


i working on indesign cs5 plugin needs export thumbnail each page of document. moment our solution consists in using document.exportfile, making export jpeg files low dpi. kind of works image quality poor (as expect).

is there better way (apart making photoshop resize) ?

yes, there is. can change jpeg export preferences before doing export. jsx example

app.jpegexportpreferences.resolution = 360; app.jpegexportpreferences.jpegquality = jpegoptionsquality.high; app.activedocument.exportfile(exportformat.jpg, file("c:\\temp\\test.jpg")); 

note afaik won't change actual dimensions of final image, resolution , quality in it. if want change dimensions need use photoshop or plugin solution.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -