10-15-2024, 11:40 PM
I have hundreds of png files that need the top 20 pixels shaved off. Is there a way to do this by batch? I’m reasonably good at terminal or I have graphic converter. Thanks.
Batch edit photos, shave off 20 pixels off the top
|
10-15-2024, 11:40 PM
I have hundreds of png files that need the top 20 pixels shaved off. Is there a way to do this by batch? I’m reasonably good at terminal or I have graphic converter. Thanks.
10-16-2024, 12:09 AM
Try ChatGPT to write a simple Python code.
10-16-2024, 02:00 AM
I ended up using the command
mogrify -crop 1280x1024+0+0 *.pngwhich I found at https://superuser.com/questions/1161340/...mmand-line . Then I wrote a simple script to do the job for me as it is a reoccurring situation. #!/bin/bash |
« Next Oldest | Next Newest »
|