[JS] PageItem Export to PNG: exported image's dimesion is different from PageItem's
when try export rectangular text frame png javascript, result png image may have bigger dimension of text frame in indesign. believe has line height of text.
is there export option can use make exported image's dimension same text frame's?
please see attached pictures example:
- the text frame in indesign has dimension of 400 x 80 (pixels)
- this exported png, has dimesion of 400 x 96 (pixels). notice padding @ top , bottom of image.
@hoang_huynh – @ moment export, think, cannot against that. it's way png export working…
and it's not forced line height of text, caused effects drop shadow etc.pp.
after export, open file in photoshop , trim file writing pixels.
you ask question @ photoshop scripting forum.
uwe
More discussions in InDesign Scripting
adobe


Comments
Post a Comment