Photoshop Script Crop To Template

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 พ.ย. 2022
  • JavaScript for Photoshop crops images to fit inside guides of a selected template document. Video tutorial is Windows. Script works the same both macOS and Windows.
    - Crop current image or folder of images
    - Choice of vertical position when subject is wide
    - Option to use content-aware fill
    - Append suffix to output file names
    - Output to JPG, PNG, PSD, or TIF
    - Save and restore all settings
    Also see related video:
    Crop To Margins: • Photoshop Script Crop ...
    Get the script: www.marspremedia.com/software...
    Also see related script "Crop Center Head"
    www.marspremedia.com/software...
    How to install Illustrator scripts macOS: • Illustrator Scripts Ho...
    How to install Illustrator scripts Windows: • Illustrator Scripts Ho...
    How to install InDesign scripts macOS: • InDesign Scripts How t...
    How to install InDesign scripts Windows: • InDesign Scripts How t...
    How to install Photoshop scripts macOS: • Photoshop Scripts How ...
    How to install Photoshop scripts Windows: • Photoshop Scripts How ...
    More about installing scripts both macOS and Windows: www.marspremedia.com/software...
    Other useful scripts for Adobe Creative Cloud applications: www.marspremedia.com/software
    Example images thanks to unsplash.com
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 20

  • @bharamappabandak9226
    @bharamappabandak9226 ปีที่แล้ว +4

    Super sir 👌👌👌

    • @wc7
      @wc7  ปีที่แล้ว +2

      Thanks

  • @sajid_official
    @sajid_official ปีที่แล้ว

    You're a Genius!

    • @wc7
      @wc7  ปีที่แล้ว +1

      Thanks, glad you like it.

  • @nirphotoartjaiminbhavsar6782
    @nirphotoartjaiminbhavsar6782 ปีที่แล้ว +3

    Nice sr

    • @wc7
      @wc7  ปีที่แล้ว +1

      Thanks

  • @RealDealReviews
    @RealDealReviews ปีที่แล้ว +1

    Hello William. Excellent content and programming skills. Appreciate the extent of your explanation and details on how everything works. I'm not sure if I missed anything from the videos you are offering, but is there one (or a script) that can peform what this Crop to template can do where the template would support a custom guide with more than 4 guides. I'll try to explain. In short, if I have a grid like pattern of images laid out as the final result of my output, but to get to it, I need to scale down the original images in the source folder to smaller squares and position them according to the guides one next to each other (for example in 3 rows of 4 images) totaling 12 images. each on its own layer. So that if necessary I can apply effects such as drop shadow or something else to each layer. Please let me know if something like this is feasible with this script or if this is a lot more custom. Thanks again for great content!

    • @wc7
      @wc7  ปีที่แล้ว

      I don't have anything more sophisticated than what Crop To Template does. What you describe would take a custom script with much to decide about how to handle various input images.

  • @anasabdullah6603
    @anasabdullah6603 ปีที่แล้ว

    Hello. Can you make video that explain how to debug adobe script and run them line by line so can identify where is the problem and why some variable aren't populated with the right value. ?

    • @wc7
      @wc7  ปีที่แล้ว

      I will add the topic to my list of future video projects. In the meantime, I can quickly say this is possible in VS Code using the extension "ExtendScript Debugger". Install that and the extension page in VS Code has a thorough explanation of how to use it. However, I will say I don't use this method much. I find it easier to use alerts and even better, a debugging log file to gather information about what the script is doing. In fact I made video about this topic (th-cam.com/video/OXOy1WdmnMM/w-d-xo.html), and I see you've commented on that video already as well. Add the log file code to your script and insert "log.add()" calls at various points in your code, to record information you want to know at that state of execution. It's also nice because it's recorded to a file that you can refer to again and again if needed, rather than appearing on screen for a time then gone, after which you might forget the precise result. Personally, I really like using a debugging log rather than a code editor debugger, but we all have different tastes. Nevertheless I will add the topic to my list of future projects. Thank you for the suggestion.

  • @Amir_Azaad
    @Amir_Azaad ปีที่แล้ว

    which softwares you used to make these videos? Your reply will help community to make better videos

    • @wc7
      @wc7  ปีที่แล้ว

      The screen recordings I use TechSmith Camtasia. The audio I use Adobe Audition. For video portion of me, Adobe Premiere Pro.

  • @harishbabu674
    @harishbabu674 ปีที่แล้ว +2

    Hi William
    Excellent,wow Every tutorials you provide is very useful and perfect for performing online platform today.
    I am asking because of my doubt
    Is there any way to change the guideline pixel
    Can the guide line in the template be changed as desired?
    For example some perfume bottle size will be fifty ml
    Everything shown in the template fits squarely
    Is it possible to give a line with the same below two hundred and above one hundred and one hundred and fifty
    So am happy u r give nice one

    • @wc7
      @wc7  ปีที่แล้ว +3

      The template shown in the video is just an example. The template can be whatever you want. 100x200 pixels, 6000x8000 pixels, anything, and with guides anywhere you like. The template is for you to create. I just used something simple to demonstrate. Wherever the guides are the subject, if tall, touches the top and bottom guide and is centered between the left and right, wherever they are in the template. If the subject is wide, left and right touch the guides and the vertical alignment follows the choice in the interface.

    • @harishbabu674
      @harishbabu674 ปีที่แล้ว +2

      @@wc7 When I thought about it again, the template was example, now clear thank alot

  • @truongnguyenvan6420
    @truongnguyenvan6420 หลายเดือนก่อน

    Add screen jsx. Thanks❤❤

  • @daulatjain5702
    @daulatjain5702 ปีที่แล้ว

    dear sir i want my retouching jpeg file send to costume but print & Copy Restriction, script for photoshop

    • @wc7
      @wc7  ปีที่แล้ว

      Only PDF can be password protected either completely or to only restrict printing and copying. Solution is to save PDFs of images. I have Photoshop script to batch save images to a single PDF:
      th-cam.com/video/4qxdtU1OuRM/w-d-xo.html
      But then you must open in Acrobat and set security. Photoshop has no capability to do this in script. However, Illustrator can do it in script. I have another script for Illustrator that puts images into PDFs and sets password:
      th-cam.com/video/ZITZvFX7zmM/w-d-xo.html

  • @thihasoe1261
    @thihasoe1261 ปีที่แล้ว

    pls how to creat action panel

    • @wc7
      @wc7  ปีที่แล้ว

      Do you mean include it in an Action? It's not made to do that. It handles the batch process all in one script.