RSS/Atom feed Twitter
Site is read-only, email is disabled

logo script forces crop

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

8 of 8 messages available
Toggle history

Please log in to manage your subscriptions.

logo script forces crop Helen 30 Nov 16:48
  logo script forces crop Joao S. O. Bueno 30 Nov 19:04
  logo script forces crop Owen 30 Nov 20:40
   logo script forces crop Owen 30 Nov 21:09
  logo script forces crop Kevin Cozens 01 Dec 17:52
   logo script forces crop Joao S. O. Bueno 01 Dec 20:53
    logo script forces crop Sven Neumann 01 Dec 20:59
    logo script forces crop Kevin Cozens 01 Dec 21:30
Helen
2007-11-30 16:48:01 UTC (about 17 years ago)

logo script forces crop

I have photographs of flowers.
I type the botanical name of the flower. Then I run the logo basic 1 script on the text, and the entire photo is cropped so that only the text remains. How can I run a logo script on text without losing the remainder of the picture?
I've tried duplicate layer, and putting the text on the duplicate layer, but I still lose the remainder of the picture when I run the script.

Thanks, Helen, using Gimp 2.2.10

Joao S. O. Bueno
2007-11-30 19:04:20 UTC (about 17 years ago)

logo script forces crop

On Friday 30 November 2007 03:48:01 pm Helen wrote:

I have photographs of flowers.
I type the botanical name of the flower. Then I run the logo basic 1 script on the text, and the entire photo is cropped so that only the text remains. How can I run a logo script on text without losing the remainder of the picture?
I've tried duplicate layer, and putting the text on the duplicate layer, but I still lose the remainder of the picture when I run the script.

Thanks, Helen, using Gimp 2.2.10

There is no straightforward way. The easiest thing I can think of is to create the logo as a new image (use the Xtns menu on the tool box, isntead of the image window menu), and then, on the resulting logo image, you turn off the background layer, merge visible layers, and drag the resulting layer onto your original image.

js
->

Owen
2007-11-30 20:40:40 UTC (about 17 years ago)

logo script forces crop

I have photographs of flowers.
I type the botanical name of the flower. Then I run the logo basic 1 script on the text, and the entire photo is cropped so that only the text remains. How can I run a logo script on text without losing the remainder of the picture?
I've tried duplicate layer, and putting the text on the duplicate layer, but
I still lose the remainder of the picture when I run the script.

I think what you want to do is

a. Write name on image (leave text on its own layer) b. Position text exactly where you want it c. Filter->Alpha to logo->Basic 1
d. In the layers dialog, remove the white background layer e. In the same layers dialog, do a merge visible layers f. Select all, Copy
g. Reopen your flower image and Paste h. Reposition so that there is no mismatch between the logo background and original image

Owen

Owen
2007-11-30 21:09:26 UTC (about 17 years ago)

logo script forces crop

I have photographs of flowers.
I type the botanical name of the flower. Then I run the logo basic 1 script on the text, and the entire photo is

Sorry. I just realized you said you were on 2.2.10, the above applies to 2.4.x

In 2.1.x do Image->Script Fu->Basic 1 instead

Owen

Kevin Cozens
2007-12-01 17:52:03 UTC (about 17 years ago)

logo script forces crop

Helen wrote:

Then I run the logo basic 1 script on the text, and the entire photo is cropped so that only the text remains.

This is a problem with the design of many (or all?) of the Logo scripts that also offer an "Alpha to Logo" version. Most of the work is done in an "apply effect" routine. When called as a Logo script, an image is created at a default size, the effect routine is called, and the effect routine resizes the image to the needed size. When a script is run as an Alpha to Logo script, the image resize should not be done.

There are 17 scripts that (may) have this problem. This problem should be added to Bugzilla as a low priority task.

Joao S. O. Bueno
2007-12-01 20:53:03 UTC (about 17 years ago)

logo script forces crop

On Saturday 01 December 2007 04:52:03 pm Kevin Cozens wrote:

Helen wrote:

Then I run the logo basic 1 script on the text, and the entire photo is cropped so that only the text remains.

This is a problem with the design of many (or all?) of the Logo scripts that also offer an "Alpha to Logo" version. Most of the work is done in an "apply effect" routine. When called as a Logo script, an image is created at a default size, the effect routine is called, and the effect routine resizes the image to the needed size. When a script is run as an Alpha to Logo script, the image resize should not be done.

There are 17 scripts that (may) have this problem. This problem should be added to Bugzilla as a low priority task.

I'd say they have to be changed, but that could not be done without breaking compability. So I think this change should be marked for gimp 3.0 (unless we get optional parameters on the PDB before that).

js ->

Sven Neumann
2007-12-01 20:59:30 UTC (about 17 years ago)

logo script forces crop

Hi,

On Sat, 2007-12-01 at 19:53 +0000, Joao S. O. Bueno wrote:

I'd say they have to be changed, but that could not be done without breaking compability. So I think this change should be marked for gimp 3.0 (unless we get optional parameters on the PDB before that).

There are no plans so far for GIMP 3.0, so it's a very bad idea to postpone anything for 3.0. There might be several more development cycles before we break backward compatibility and throw all old plug-ins/scripts over board.

It's rather likely though that named and optional parameters are implemented in the PDB soonish.

Sven

Kevin Cozens
2007-12-01 21:30:02 UTC (about 17 years ago)

logo script forces crop

Joao S. O. Bueno wrote:

On Saturday 01 December 2007 04:52:03 pm Kevin Cozens wrote:

When a script is run as an Alpha to Logo script, the image resize should not be done.

There are 17 scripts that (may) have this problem. This problem should be added to Bugzilla as a low priority task.

I'd say they have to be changed, but that could not be done without breaking compability. So I think this change should be marked for gimp 3.0 (unless we get optional parameters on the PDB before that).

The API of the scripts won't change. What compatability issues would there be by moving the image resize out of the apply effect routine?

After moving the image resize Alpha to Logo scripts need to be tested to make sure they will work on an image of arbitrary size.