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

How to create batch operation to copy images x times per canvas

Explorer ,
Sep 01, 2009 Sep 01, 2009

hello all,

i am a new PS4 user and self taught.

i have about ~65 images that i need to copy 1, 3, 6, 12 times per canvas, then trim and format for web use.  is there a batch script that does this (that i could change qty.)? actually trim & web format i could do in another operation later.  i think i am using 'copy' as the correct term for this function.

thanks,

William

TOPICS
Actions and scripting
4.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

correct answers 1 Correct answer

Community Expert , Sep 06, 2009 Sep 06, 2009

Please just send some images to my email-address (You should find it in the private messages of Your account here).

Did You start with jpgs or do You have undamaged files, also?

Because with the one sample image jpg-artifacts were so bad I had to edit somewhat to get a close crop, which might chomp into the images with lighter products.

Currently the open-dialog is set to allow selecting multiple images and saving the array-copies into the same folder, but that can be changed to selecting a fold

...
Translate
Adobe
Community Expert ,
Sep 01, 2009 Sep 01, 2009

How are the copies supposed to be arranged on the canvas?

Could You post a screenshot of the intended results of one example?

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 ,
Sep 02, 2009 Sep 02, 2009

hello,

trim each image then allow them to touch each others boundary.need in qty

1,3,6,12. then in would use in jpeg for web use.

like:

x

xxx

xxx

xxx

xxxx

xxxx

xxxx

to be used in thumbnail format.

if you could help me with this, man i would be very thankful.

thanks,

William

On Tue, Sep 1, 2009 at 8:58 AM, christoph pfaffenbichler

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 ,
Sep 02, 2009 Sep 02, 2009

i have ~ 100 like this for my personal web site.

http://gallery3.getsprays.musictechmore.com/var/thumbs/ALBUM_Product_Images/brake-clnr7.jpg?m=1249517388

thanks,

William

Message was edited by: GrievousAngelPro

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 ,
Sep 03, 2009 Sep 03, 2009

That should not be terribly difficult, I guess, but I’ll probably not be able to get anything done on this before the weekend.

Maybe someone else does have something along those lines already though …

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
Advocate ,
Sep 03, 2009 Sep 03, 2009
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 ,
Sep 04, 2009 Sep 04, 2009

i downloaded and placed in the proper directory as instructed. CS4 errors

about can't used background layer . . .

if i opened a new layer and ran again it did not error but could not see the

array?

can you get the attached picture and try it yourself?

thanks,

Billy

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 ,
Sep 04, 2009 Sep 04, 2009

I can’t locate the attached file.

Could You post a screenshot of the file’s Layers Panel?

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
Guru ,
Sep 04, 2009 Sep 04, 2009

Nice script.

I think that if the file only has one layer and it is a background layer the load transparency section fails. Maybe you could put that in an if statement. It does look like the sample image has transparency.

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 ,
Sep 04, 2009 Sep 04, 2009

hello,

right, that is the error!

thanks,

Biily

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 ,
Sep 04, 2009 Sep 04, 2009

here is the attached file.

what is the best way o include the screen shot?

i trimmed and saved as 3 quality jpeg file via PS batch first.

thanks,

Billy

On Fri, Sep 4, 2009 at 10:18 AM, christoph pfaffenbichler

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 ,
Sep 04, 2009 Sep 04, 2009

Billy, I think You should post the file in the web-browser (with the Attach Files-tool at the bottom) and not include it in a reply-email, because I still can’t make it out.

Posting jpgs is most easily done with the little camera icon in the top bar in the web-browser.

I’ll send You my email-address in a Private Message (check in Your profile), so You can send me the file directly.

Thanks, Michael!

I had hoped the try-clause for the load-transparency would take care of background-layers … but some improvements seem necessary yet.

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 ,
Sep 05, 2009 Sep 05, 2009

Please find attached photo file.

thanks for your help. got file this time?

Billy

3.75oz_duster.jpg

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 ,
Sep 05, 2009 Sep 05, 2009

Thanks, I got the image and the Script seems to be working fine and creates the four jpgs in the same location as the file. (»Seems« being the important word, cause the possibilities for mistakes seem numerous …)

When You mentioned trimming in post 2, I had assumed You would be working of psd-files with clipped objects.

Are You really working on flattened files and want to crop off all the additional white space?

Because that could be done, too, if the white space is uniformly truly white.

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 ,
Sep 05, 2009 Sep 05, 2009

great. can you instruct me on how to use the script? i must have done

something wrong. the other member mentioned exactly what error i was

getting. did you see that reply?

how good i approach this? use my jpegs or covert to PS files? i have ~300

photos to batch so any step really needs to be scripted/batcched right?

could you develop the script/batch op to input all photos in an folder,

trim/knockout (white is even enough to trim), make arrays (1,3,6,12) and

convert to file type best for web use (not art related just photos of cans

of spray for my new eStore) and save the common files into a new folder (one

folder for each set of 4 photos)?

i could send you all the photos or just a few to test. i can ftp (upload)

to my host server or what ever you like best.

sincere thanks. i will glaldy do what i can to help you out for your help.

thanks,

William

On Sat, Sep 5, 2009 at 9:52 AM, christoph pfaffenbichler

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
Guru ,
Sep 05, 2009 Sep 05, 2009

I was the other member and I was mistaken. The script works without errors for me. It creates, saves, then closes so you have to look in the folder where the original file came from to see the results.

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 ,
Sep 06, 2009 Sep 06, 2009

i wonder what i did wrong? i got similar errors.

thanks,

Billy

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 ,
Sep 06, 2009 Sep 06, 2009

Please just send some images to my email-address (You should find it in the private messages of Your account here).

Did You start with jpgs or do You have undamaged files, also?

Because with the one sample image jpg-artifacts were so bad I had to edit somewhat to get a close crop, which might chomp into the images with lighter products.

Currently the open-dialog is set to allow selecting multiple images and saving the array-copies into the same folder, but that can be changed to selecting a folder and editing all contained images and exporting the results into new folders.

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 ,
Sep 06, 2009 Sep 06, 2009
LATEST

did you get the images? about 12 of them.

thanks,

billy

On Sun, Sep 6, 2009 at 5:54 AM, christoph pfaffenbichler

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
Guru ,
Sep 05, 2009 Sep 05, 2009

Christoph, I apologize. Your are right. I tested this using ESTK and forgot that I had turned on break for guraded to debug an event script I was working on.

Mike

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 ,
Sep 03, 2009 Sep 03, 2009

thanks from you both.  i can wait until this week-end or later next week.

i reqally need this and i am patient also.

lets stay in touch this week.

i will look at the array script.  it looks interesting even though i am new to PS.

thanks,

William

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 ,
Sep 04, 2009 Sep 04, 2009

Could You give this Script a try?

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