Quoting David Gowers <[EMAIL PROTECTED]>:
> You defined zac-autocrop correctly, but you haven't registered it with GIMP.
> See this link for an example.
If you are calling a Script-fu defined function from the command line,
it is not required that the function be registered with the PDB. The
Thanks guys, I've figured out what to do from your pointers! Didn't
realize there's a difference between _ and -.
Zac
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Zachary Leung wrote:
> I tried something below, but that didn't work. =(
[snip]
> gimp -i -b '(plug_in_autocrop "movie0.jpg")'
>
> (define (zac-autocrop filename)
> (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE filename filename)))
> (drawable (car (gimp-image-get-active-lay
Hi Zachary,
On Tue, Apr 22, 2008 at 6:27 PM, Zachary Leung <[EMAIL PROTECTED]> wrote:
> Hi David,
>
> Thanks for answering my question so quickly.
>
> I realized that I should have phrased my question more carefully. What
> I want is to be able to autocrop all the images matching a pattern,
>
Hi David,
Thanks for answering my question so quickly.
I realized that I should have phrased my question more carefully. What
I want is to be able to autocrop all the images matching a pattern,
say "movie*.jpg". How do I do that?
I tried something below, but that didn't work. =(
Thanks!
Zac
g
Hi Zac!
On Tue, Apr 22, 2008 at 1:45 PM, Zachary Leung <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I'm wondering if there's an automated way to crop my images of all the white
> areas on the outside.
>
> Basically I've produced quite a few MATLAB plots exported as JPEGs. There's
> a lot of white
Hi everyone,
I'm wondering if there's an automated way to crop my images of all the white
areas on the outside.
Basically I've produced quite a few MATLAB plots exported as JPEGs. There's
a lot of white around the sides, and the figure is in the center. Is there
an automated way to crop exactly t