octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: GIMP Octave Plugin


From: Søren Hauberg
Subject: Re: FYI: GIMP Octave Plugin
Date: Sat, 19 Dec 2009 23:14:07 +0100

ons, 16 12 2009 kl. 01:42 +0100, skrev ElSamuko:
> I wrote a GIMP Octave Plugin which makes Octave scripts executable from
> inside GIMP.
> If you want to try it, go here:
> http://registry.gimp.org/node/21174

This is kinda neat. I haven't looked at the code, but I have a few
comments:

The plugin (or rather your filters) requires the 'image' package. This
is quite reasonable, but I guess it should be made more clear on the web
page.

The 'Update' button in the UI changes when I resize the window. Try
making the window larger and things look not-so-good. It would be nice
if the button didn't scale.

Why do filters go in '~/.gimp-octave' and not somewhere in
'~/.gimp-2.6' ?

I would really love it if I simply got access to an Octave prompt, where
I had access to the image. From this prompt a function, say,
'send_image_to_gimp' should make the image available to gimp (i.e. save
it to disk). I often find myself in a situation where I would love to
experiment a bit with an image from within gimp, and getting easy access
to Octave make this dead simple.

It would be nice if the image was updated automatically instead of me
having to use the 'Update' button. Since you are using files to
communicate between gimp and Octave, I guess you should be able to do
auto-updating simply by watching file changes.

I don't think your code is safe when using the plugin on multible images
at once as you always save the result in 'matrixOut.txt'. You should be
able to solve this by calling the file 'matrixOut_XXX.txt' instead,
where 'XXX' is a number that is different from image to image.

Anyway, this is a very interesting piece of work, that I think I'll find
great use of in the future.

Soren



reply via email to

[Prev in Thread] Current Thread [Next in Thread]