![]() ![]() But the PNG always has the size 612x792 px. The script does export the whole artboard as a png. Get downloadable templates for Sketch, Figma. ![]() Var exportOptions = new ExportOptionsPNG24() ĮxportOptions.artBoardClipping = true //this option makes sure I exportĪpp.activeDocument.exportFile(fileSpec, type, exportOptions) SocialSizes provides designers with the best sizes to use for Image and Video content on Social Media. Use artboards checkbox is in the first dialog box where you input the name. export Image with name newImage.png (I have a specific path here) Monika Gause Community Expert, May 10, 2018. WHAT IS HAPPENING I did find a discussion where this is happening with photoshop as well. I have not changed anything manually - not the image size nor the canvas size. create a rectangle that is smaller than the artboard When I check the image size (Image -> Image Size) My document is now 958 x 205 at 72 dpi. This is the code I have right now: //create new document with my desired size Double-click the Illustrator project to open it. I'm trying to create a script in Extendscript that draws something and then exports the entire Artboard as a PNG in the size 4500x5400 px (or any other specific size). In other words, the smaller the artboard sizes and the closer they are together, the smaller the overall images dimensions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |