Skip to main content
Participating Frequently
Apr 23, 2025 6:33 PM UTC
Question

Illustrator Envelope Distort in Javascript

I have been struggling to find a way to do the following in javascript:

 

1) Open an .ai file that contains a shape (in this case its a warped rectangle)

2) Place a PNG file

3) Move the PNG file below the warped shape

4) Perform an envelope distort (Make with Top Object) on the shape + PNG file

 

This seems stupid simple, but I can't figure out a way to do the Make with Top Object envelope distort using javascript.

 

Any help would be amazing.

 

Thanks!

4 replies

JR Boulay
Community Expert
Community Expert
Apr 27, 2025 8:15 PM UTC

[MOVED TO THE ILLUSTRATOR DISCUSSIONS]

Translate
Acrobate du PDF, InDesigner et Photoshopographe
Bernd Alheit
Community Expert
Community Expert
Apr 23, 2025 8:12 PM UTC

Why this posting in the forum for Acrobat SDK?

Translate
Participating Frequently
Apr 23, 2025 8:14 PM UTC

Well me where Javascript questions should be asked and I'd be happy to move it there.

Translate
Participating Frequently
Apr 23, 2025 8:15 PM UTC

I'm stupid.  I just realized it was in the ACROBAT SDK.  I know understand your question.  Sorry for the misplaced posting.

 

Translate