The Cyberduck forums have moved to Google Groups, this forum is read only.
2 posts • Page 1 of 1
I am using Cyberduck to upload photos to my site, but I would like it to automatically resize photos before I upload. Is this possible with Cyberduck?
You can find an example in the sample script Screenshot Sample. It resizes an image using Image Events:
Code: Select all
tell application "Image Events"
-- get the image from the clipboard
set the_image to open image_location & ".png"
-- resize image for thumb
scale the_image to size 133
-- save the thumb as png
save the_image as PNG in thumb_location & ".thumb.png"
on error error_message
display dialog error_message
Who is online
Users browsing this forum: No registered users