Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

is there a script to load images into illustrator to a grid composition.

New Here ,
Mar 11, 2015 Mar 11, 2015

Hi. is there a script to load images into illustrator to a grid composition. I need only 1 artboard. The out put is to print a mural. I need to load aprox. 1600 images. Somebody in the illustrator forum recommended an In-design script, but I was wondering if there was a native illustrator script. I have not scripted eithor environment before.

Regards and Thanks,

Gavin

TOPICS
Scripting
1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Mar 11, 2015 Mar 11, 2015

ready made? probably not, one would need to be created. Do you have experience scripting in other environments?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Mar 12, 2015 Mar 12, 2015

‌how do you plan to lay them out?

Are the images square? Or all landscape? Or a mix of different sizes and shapes?

if so is the plan to crop them all to squares. And just butt them up against each other in a grid.

1600 placed images is a fair whack. What size do you see the final mural.

That would be a 40 x 40 square grid. If each image is 10cm square then your mosaic is still 4 meters by 4 meters.

but scripting it would not be to hard.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 01, 2015 Jun 01, 2015

Hi Qwertyfly,

Even am trying to do a similar insertion.

Inset an image something like this at a particular coordinates of X,Y.

ToForum_Image_insertion.jpg

Is this possible via scripting?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 02, 2015 Jun 02, 2015

Maybe i don't fully understand what you're trying to do, but is Illustrator really the program you want to use for this project?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jun 04, 2015 Jun 04, 2015

yes an image can be inserted at particular X,Y

but is the image placed or embedded.

what is the X,Y or where do I get it

what size do you want the image.

is it just 1 image, or a folder of images.

I can think of at least 10 more questions I would need answered before I could do anything.

if you want people to put time in to helping you then you need to provide good information on what you are trying to do!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 05, 2015 Jun 05, 2015

Apologies for not giving full information....

Too busy for something planning in next week...

I found a sample code of how to draw a triangle from one of the forums.

Used the same code to modify and draw the triangle above, instead of an image.

Please see the code I've used, it may be helpful for any,

***

// Create 45 Degree Triangle

var doc = app.activeDocument;

var sel = doc.selection;

dw  = doc.width;

dh = doc.height;

$.writeln("w,h", dw, dh);

wc= dw /2;

hc = dh *-0.5;

if ( app.documents.length > 0 ) {

//var triangleGroup = app.activeDocument.groupItems.add();

// Create a triangle and add text, the new art is created inside the group

//var trianglePath = triangleGroup.pathItems.add();

var trianglePath = doc.pathItems.add();

trianglePath.setEntirePath( Array( Array(0, 100), Array(100, 0), Array(0,0) ) );

trianglePath.closed = true;

trianglePath.stroked = false;

trianglePath.filled =true;

         var redColor = new RGBColor();

         redColor.red = 63;

         redColor.green = 255;

         redColor.blue = 79;

         //t.textRange.characterAttributes.fillColor = redColor;

        

trianglePath.fillColor =redColor;

//trianglePath.strokeWidth = 3;

trianglePath.position = Array(wc,hc);

}

***

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jun 05, 2015 Jun 05, 2015
LATEST

‌as the image you want can be drawn with simple vectors, that is the best option.

GGlad you found a solution.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines