docRef.Export bugs?


seem have found 2 bugs in docref.export jpg in cs4.

 

i found in posting period marks (full stops) in filename strings invisible. since these crucual point have enclosed in {} "{.}"

 

1. poor quality jpg exports irrespective of the  qualitysetting value.

 

2. documentation tells supply file path no extension - supplied. export has function strip off extension should have left on. antagonistic legal windows (7 in case) file names, since these allow multiple periods in file name, text after last period being considered extension. export function function strips off after period there in filename , adds jpg.

 

so file  xyz{.}abc{.}ai - want generate xyz{.}abc{.}jpg should supplied xyz{.}abc acording documentation - if done return xyz{.}jpg. if xyz{.}abc{.}ai supplied gets stranger, , not sure of ramifications, filenames xyz{.}abc abc{.}ai generated output names xyz{.}abc -abc{.}jpg - note added "-"!

 

i suggest function should either assume filename fed correct , add ".jpg" or documentation should changed require extension remain, , function should strip off text after last period , append "jpg".

 

 

any comments / workarounds?

how export regular name, , rename filename after export.



More discussions in Illustrator Scripting


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support