Honorable experts, DOM only offers jpeg export resolution *as a real number*: app.jpegExportPreferences.exportResolution = 72; With the little trick you can get the desired width in pixels, and usually that's enough. Now to the problem: on a regular basis, have a page to export, with both exported jpeg pixel dimensions strictly pre-defined, and those don't match to original layout dimensions. Well, client doesn't care about aspect ratio here, so this is easily doable in Photoshop, from *regular* pdf. However, being so lazy, I'd love to include this little function in a some bigger script, and avoid firing up Photoshop just for this. Is there still a itty bitty teeny weeny chance to force InDesign to follow both given dimensions, and don't care about aspect ratio?
... View more