Search found 9 matches

by frankjance
Sun Jun 20, 2021 5:33 am
Forum: Technical Support
Topic: [Solved] AppleScript to add watermark
Replies: 9
Views: 8381

Re: [Solved] AppleScript to add watermark

That did it. Thanks! I experimented and found the other corners: 0 = top left 1 = bottom left 2 = top right 3 = bottom right 4 = center However, I wasn't able to find any options for left center, right center, top middle, and bottom middle. Do those not exist? I hope they do, as I could sure use the...
by frankjance
Fri Jun 18, 2021 7:42 pm
Forum: Technical Support
Topic: [Solved] AppleScript to add watermark
Replies: 9
Views: 8381

Re: [Solved] AppleScript to add watermark

Please use: -convert "/original.jpg" -watermark "0,0,0,15" "/wm.jpg" -to "/new_img.jpg" Thanks, but the image is still not watermarked. The original image is returned. I must be missing something. :? 0 is left top What are the values for the other corners, in...
by frankjance
Fri Jun 18, 2021 4:45 pm
Forum: Technical Support
Topic: [Solved] AppleScript to add watermark
Replies: 9
Views: 8381

Re: [Solved] AppleScript to add watermark

Yep. I glossed right over that. :oops: Would you supply an example of the format for "corner,x,y,opacity"? I'm not seeing anything in the manual. Using: -convert "/original.jpg" -watermark "top left,0,0,15" "/wm.jpg" -to "/new_img.jpg" the new image ...
by frankjance
Fri Jun 18, 2021 4:17 pm
Forum: Technical Support
Topic: [Solved] AppleScript to add watermark
Replies: 9
Views: 8381

Re: AppleScript to add watermark

just call GraphicConverter via the command line. Thanks, but I can't get it to work. Even using sudo I get this error: zsh: permission denied: /Applications/GraphicConverter 10.app Any idea what's blocking it? I checked the Secirity & Privacy control panel on Catalina and all I found was two ch...
by frankjance
Thu Jun 17, 2021 11:50 pm
Forum: Technical Support
Topic: [Solved] AppleScript to add watermark
Replies: 9
Views: 8381

[Solved] AppleScript to add watermark

I have searched high and low for this without success. I wrote one years ago for use with iMagine Photo (see below) but that app no longer works on Catalina, so I'd like to convert it for use with GC10. This is for watermarking a single photo - I don't want to do batch processing. If anyone has any ...
by frankjance
Wed Jan 02, 2019 7:07 pm
Forum: Technical Support
Topic: Setting Canvas Size via AppleScript
Replies: 7
Views: 5745

Re: Setting Canvas Size via AppleScript

The background color is a window property. Just set it before the change margin comand: OK, that works. Thanks. Unless I'm reading it incorrectly, the dictionary makes it look like it's part of the Change Margins syntax. Now I just have to figure out the color numbering scheme. I thought RGB used v...
by frankjance
Wed Jan 02, 2019 2:17 pm
Forum: Technical Support
Topic: Setting Canvas Size via AppleScript
Replies: 7
Views: 5745

Re: Setting Canvas Size via AppleScript

I'm getting compile errors in Script Debugger. When trying things like: change margins with {left_margin, top_margin, right_margin, bottom_margin} set background color to {0,0,0} change margins with {left_margin, top_margin, right_margin, bottom_margin} set to {0,0,0} I get: Expected end of line, et...
by frankjance
Wed Jan 02, 2019 5:33 am
Forum: Technical Support
Topic: Setting Canvas Size via AppleScript
Replies: 7
Views: 5745

Re: Setting Canvas Size via AppleScript

Hi Thorsten, Thanks for the reply. I didn't get an email saying you had replied, so I ended up using Image Events. However, I'd prefer to do everything in GC. After some trial and error, I got change margins to work. Here's the code I came up with: set the_image to ":Applications:MAMP:htdocs:or...
by frankjance
Mon Dec 31, 2018 7:01 pm
Forum: Technical Support
Topic: Setting Canvas Size via AppleScript
Replies: 7
Views: 5745

Setting Canvas Size via AppleScript

Is there a way to set the Canvas Size using AppleScript? I have written a script that adds a watermark image to a photo. The watermark is 237px by 280px. If the photo is shorter or narrower than the watermark image, I'd like to change the canvas size of the photo - adding white space to the backgrou...