Skip to main content
May 7, 2016
Answered

how to write different icon to different image batch automate script ?

  • May 7, 2016
  • 3 replies
  • 551 views

i have two folder. one folder have 3000 png(168*168) image.another folder have 3000 jpg(1920*1080) image. that all different png image to paste in left corner different jpg file.

for example

This topic has been closed for replies.
Correct answer JJMack

The create two file list of image files one for each folder make sure both have the same number of image files. Randomize  the icon list the loop through the numbers of files in the background list. You open a background image the place in an icon in the randomize icon list in the upper left corner. Save out the output jpg. close the document no save. end of loop. Each iteration of the loop process the next background and next icon. All told you will be processing 9,000 files it will take a long time to run.

3 replies

JJMack
Community Expert
Community Expert
May 7, 2016

3000 random or all 9,000,000 all combinations

JJMack
May 7, 2016

3000 random

JJMack
Community Expert
JJMackCommunity ExpertCorrect answer
Community Expert
May 8, 2016

The create two file list of image files one for each folder make sure both have the same number of image files. Randomize  the icon list the loop through the numbers of files in the background list. You open a background image the place in an icon in the randomize icon list in the upper left corner. Save out the output jpg. close the document no save. end of loop. Each iteration of the loop process the next background and next icon. All told you will be processing 9,000 files it will take a long time to run.

JJMack
JJMack
Community Expert
Community Expert
May 7, 2016

xaviers56858660 wrote:

i have two folder. one folder have 3000 png(168*168) image.another folder have 3000 jpg(1920*1080) image. that all different png image to paste in left corner different jpg file.

What are you trying to do? Randomly place in an icon and save out a new file in an output folder wind up with and additional 3000 or place each icon in mage file and save out  output file wind up with 9,000,000 additional files.

JJMack
May 7, 2016

sir,

for example

MR74270
Inspiring
May 7, 2016

I am not sure to understand what you need. I think this is easy to do with a script, but not with an action (batch),

are the filenames (without any extension) of PNG files (168x168 pix) the same than JPEG (1920x1080 pix) ones ?

May 7, 2016

how to find the script ?

MR74270
Inspiring
May 7, 2016

I can write it for you, but I need a maximum of information first.

how to find the script ?

You can find an excellent friend in your bed with your girl friend, but you cannot find a script under your shoe; the best way is to begin with "Hello world !".

Typically French. Isn't it ?.