Re: [Gimp-user] translucent background?

2020-04-21 Thread Ofnuts

On 22/04/2020 01:30, Dave Stevens wrote:

I want a rectangular text box with a translucent white background. I can
make it transparent but don't see a way to get, say, 30% transparency.
Can someone refer me? will RTFM.

TIA.

Dave


You do it with two layers:

- a plain text layer (letters at full opacity, on transparent background)

- a second layer under the text with a colored rectangle, adjust the
layer opacity to taste.

You can put both layers in a layer group so that you can handle them
together (move around on the cover, or move them up/down in the layer stack)

___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Gimp-user] translucent background?

2020-04-21 Thread Dave Stevens
I want a rectangular text box with a translucent white background. I can
make it transparent but don't see a way to get, say, 30% transparency.
Can someone refer me? will RTFM.

TIA.

Dave

-- 
Affectionate tactile stimulation is a primary need, a need which must
be satisfied if the infant is to develop as a healthy human being.

And what is a healthy human being? One who is able to love, to work, to
play, and to think critically and unprejudicially.

--  Ashley Montagu – Touching, The human significance of the skin. 2e
1978
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] SVG to PNG using a script

2020-04-21 Thread Liam R E Quin
On Tue, 2020-04-21 at 16:39 -0400, Tres Finocchiaro wrote:
> Liam,
> 
> After re-reading your post, is it safe to assume my original question
> was written in scheme/script-fu?

Probably the script you were running, the one you didn't includeand got
from Web archive, was in Scheme, yes.

It's a text file, and the likely error from the message is that it
calls file-png to export, and not file-png-save.

> 
> If so, can someone direct me how to get a list of scheme commands
> that can
> be executed from a vanilla gimp install?

Help->Procedure Browser

slave liam

-- 
Liam Quin - web slave for https://www.fromoldbooks.org/
with fabulous vintage art and fascinating texts to read.
Click here to have the slave beaten.

___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] SVG to PNG using a script

2020-04-21 Thread Tres Finocchiaro via gimp-user-list
Michael,

You're completely right, the web archive of that original post has it for
download.  Here's the web archive article, which specifically mentions
downloading svg-to-raster.scm.

https://web.archive.org/web/20140214102644/http://porpoisehead.net/mysw/index.php?pgid=gimp_svg

Fortunately, web archive had a copy of the scheme source.  I've re-hosted
it here: https://gist.github.com/tresf/c06aac6ceb51b86f328c3655fb503efe

I'll continue down this path and share my progress.  Thanks kindly!


- tres.finocchi...@gmail.com


On Tue, Apr 21, 2020 at 4:57 PM Michael Schumacher  wrote:

>
>
> On 4/21/20 9:47 PM, Tres Finocchiaro via gimp-user-list wrote:
>
> > The best resource I've found is here however, attempts to run this on my
> > machine are failing using GIMP 2.1.0.
> >
> >
> http://www.jasonhardin.com/programming/2012/08/23/Gimp-svg-to-png-script/#disqus_thread
> >
> > The script I'm running:
> > gimp -i --batch='(svg-to-raster "src.svg" "dst.png" 72 0 0)'
> > --batch='(gimp-quit
> > 0)'
> >
> > Unfortunately it throws the following error:
> > batch command experienced an execution error:
> > Error: eval: unbound variable: file-svg
> What you found is just the command line being used to run a custom
> script someone wrote - I assume this was available from one of the
> now-defunct links in the message you linked to.
>
> In short: what you have found and posted is not a complete script, not
> by far.
>
> In principle, the actual script was likely similar to the examples in
> https://www.gimp.org/tutorials/Basic_Batch/ - with different parameters,
> though, as it only really needs to open a file and export it with a
> different file name.
>
>
> --
> Regards,
> Michael
> GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
> ___
> gimp-user-list mailing list
> List address:gimp-user-list@gnome.org
> List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
> List archives:   https://mail.gnome.org/archives/gimp-user-list
>
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] SVG to PNG using a script

2020-04-21 Thread Michael Schumacher



On 4/21/20 9:47 PM, Tres Finocchiaro via gimp-user-list wrote:

> The best resource I've found is here however, attempts to run this on my
> machine are failing using GIMP 2.1.0.
>
> http://www.jasonhardin.com/programming/2012/08/23/Gimp-svg-to-png-script/#disqus_thread
>
> The script I'm running:
> gimp -i --batch='(svg-to-raster "src.svg" "dst.png" 72 0 0)'
> --batch='(gimp-quit
> 0)'
>
> Unfortunately it throws the following error:
> batch command experienced an execution error:
> Error: eval: unbound variable: file-svg
What you found is just the command line being used to run a custom
script someone wrote - I assume this was available from one of the
now-defunct links in the message you linked to.

In short: what you have found and posted is not a complete script, not
by far.

In principle, the actual script was likely similar to the examples in
https://www.gimp.org/tutorials/Basic_Batch/ - with different parameters,
though, as it only really needs to open a file and export it with a
different file name.


--
Regards,
Michael
GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] SVG to PNG using a script

2020-04-21 Thread Tres Finocchiaro via gimp-user-list
Liam,

After re-reading your post, is it safe to assume my original question was
written in scheme/script-fu?

If so, can someone direct me how to get a list of scheme commands that can
be executed from a vanilla gimp install?

- tres.finocchi...@gmail.com


On Tue, Apr 21, 2020 at 4:36 PM Tres Finocchiaro 
wrote:

> I'm confused, I'm attempting to use the gimp command line, is it no longer
> supported?  Why am I being told to use other tools still?
>
> This is a specific attempt to use Gimp for a task.  No additional software
> installed.  If Gimp ships with a usable version of python in a reliable
> location, I'd be happy to leverage that, but the question is in regards to
> a target system with only Gimp installed, assuming it doesn't have
> Inkscape, ImageMagick Python or Perl.
>
> I'm asking how to use the gimp command line only.
>
> - tres.finocchi...@gmail.com
>
>
> On Tue, Apr 21, 2020 at 4:24 PM Liam R E Quin  wrote:
>
>> On Tue, 2020-04-21 at 15:47 -0400, Tres Finocchiaro via gimp-user-list
>> wrote:
>> >
>> >
>> > I was wonder if there was a way to utilize Gimp's scripting system to
>> > convert an SVG to a PNG?
>>
>> Yes, from python, perl or scheme (script-fu).
>>
>> there's also batch mode add-ons such as phatch.
>>
>> You might prefer to use Inkscape for this one - it can do this in the
>> command-line.
>>
>>
>> >
>> > The best resource I've found is here however, attempts to run this on
>> > my
>> > machine are failing using GIMP 2.1.0.
>>
>> Hoping you mean 2.10.18
>>
>> > I'm using MacOS to write the script, but the target platform is
>> > Windows.
>>
>> We are a release behind n the Mac because we don't have a Mac
>> maintainer right now.
>>
>> > I understand there are many other tools for performing this
>> > conversion (and
>> > I'm leveraging these tools in other parts of code) but I was hoping
>> > to
>> > write this as a fallback for this particular system.
>>
>> For the error you're getting try changing file-svg to file-svg-save
>> maybe.
>>
>> slave
>>
>> --
>> Liam Quin - https://www.fromoldbooks.org/
>>
>> Slave in full-time voluntary servitude
>>
>>
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] SVG to PNG using a script

2020-04-21 Thread Tres Finocchiaro via gimp-user-list
I'm confused, I'm attempting to use the gimp command line, is it no longer
supported?  Why am I being told to use other tools still?

This is a specific attempt to use Gimp for a task.  No additional software
installed.  If Gimp ships with a usable version of python in a reliable
location, I'd be happy to leverage that, but the question is in regards to
a target system with only Gimp installed, assuming it doesn't have
Inkscape, ImageMagick Python or Perl.

I'm asking how to use the gimp command line only.

- tres.finocchi...@gmail.com


On Tue, Apr 21, 2020 at 4:24 PM Liam R E Quin  wrote:

> On Tue, 2020-04-21 at 15:47 -0400, Tres Finocchiaro via gimp-user-list
> wrote:
> >
> >
> > I was wonder if there was a way to utilize Gimp's scripting system to
> > convert an SVG to a PNG?
>
> Yes, from python, perl or scheme (script-fu).
>
> there's also batch mode add-ons such as phatch.
>
> You might prefer to use Inkscape for this one - it can do this in the
> command-line.
>
>
> >
> > The best resource I've found is here however, attempts to run this on
> > my
> > machine are failing using GIMP 2.1.0.
>
> Hoping you mean 2.10.18
>
> > I'm using MacOS to write the script, but the target platform is
> > Windows.
>
> We are a release behind n the Mac because we don't have a Mac
> maintainer right now.
>
> > I understand there are many other tools for performing this
> > conversion (and
> > I'm leveraging these tools in other parts of code) but I was hoping
> > to
> > write this as a fallback for this particular system.
>
> For the error you're getting try changing file-svg to file-svg-save
> maybe.
>
> slave
>
> --
> Liam Quin - https://www.fromoldbooks.org/
>
> Slave in full-time voluntary servitude
>
>
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] SVG to PNG using a script

2020-04-21 Thread Liam R E Quin
On Tue, 2020-04-21 at 15:47 -0400, Tres Finocchiaro via gimp-user-list
wrote:
> 
> 
> I was wonder if there was a way to utilize Gimp's scripting system to
> convert an SVG to a PNG?

Yes, from python, perl or scheme (script-fu).

there's also batch mode add-ons such as phatch.

You might prefer to use Inkscape for this one - it can do this in the
command-line.


> 
> The best resource I've found is here however, attempts to run this on
> my
> machine are failing using GIMP 2.1.0.

Hoping you mean 2.10.18

> I'm using MacOS to write the script, but the target platform is
> Windows.

We are a release behind n the Mac because we don't have a Mac
maintainer right now.

> I understand there are many other tools for performing this
> conversion (and
> I'm leveraging these tools in other parts of code) but I was hoping
> to
> write this as a fallback for this particular system.

For the error you're getting try changing file-svg to file-svg-save
maybe.

slave

-- 
Liam Quin - https://www.fromoldbooks.org/

Slave in full-time voluntary servitude

___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] Toolbox into a single column (was: Lost icons)

2020-04-21 Thread Liam R E Quin
On Tue, 2020-04-21 at 14:00 -0400, Rick Strong wrote:
> How do we do that?

Remove all other docked tabs from the left and make the column narrow.
you may also have to remove the image preview from the toolbox using
preferences.

i haven't tried this but have seen screenshots.

slave



___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] SVG to PNG using a script

2020-04-21 Thread Tres Finocchiaro via gimp-user-list
Hmm... I'm not sure why the scripting system is continuously dismissed as a
viable solution.  Is your answer that it's not viable.  Requoting:

I understand there are many other tools for performing this conversion (and
> I'm leveraging these tools in other parts of code) but I was hoping to
> write this as a fallback for this particular system.


- tres.finocchi...@gmail.com


On Tue, Apr 21, 2020 at 3:54 PM Guy Stalnaker  wrote:

> Tres,
>
> Several perhaps better options are tools intended for command line use:
>
> https://www.imagemagick.org/script/download.php
>
> Or, for considerably more sophisticated image work (with correspondingly
> more detailed and opaque documentation) G'MIC (which also has a builtin
> tool for use inside GIMP usually packaged with GIMP):
>
> https://gmic.eu/download.shtml
>
> Both of these tools can be scripted.
>
> Regards.
>
> Guy Stalnaker
> jimmyg...@gmail.com
>
>
> On Tue, Apr 21, 2020 at 2:47 PM Tres Finocchiaro via gimp-user-list <
> gimp-user-list@gnome.org> wrote:
>
>> Hi,
>>
>> I'm looking into Gimp as a viable scripting solution for a project however
>> most of the scripting references I'm finding are either sparse or dated.
>>
>> I was wonder if there was a way to utilize Gimp's scripting system to
>> convert an SVG to a PNG?
>>
>> The best resource I've found is here however, attempts to run this on my
>> machine are failing using GIMP 2.1.0.
>>
>>
>> http://www.jasonhardin.com/programming/2012/08/23/Gimp-svg-to-png-script/#disqus_thread
>>
>> The script I'm running:
>> gimp -i --batch='(svg-to-raster "src.svg" "dst.png" 72 0 0)'
>> --batch='(gimp-quit
>> 0)'
>>
>> Unfortunately it throws the following error:
>> batch command experienced an execution error:
>> Error: eval: unbound variable: file-svg
>>
>> I'm using MacOS to write the script, but the target platform is Windows.
>>
>> I understand there are many other tools for performing this conversion
>> (and
>> I'm leveraging these tools in other parts of code) but I was hoping to
>> write this as a fallback for this particular system.
>>
>> Best regards,
>>
>> -Tres
>>
>> - tres.finocchi...@gmail.com
>> ___
>> gimp-user-list mailing list
>> List address:gimp-user-list@gnome.org
>> List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
>> List archives:   https://mail.gnome.org/archives/gimp-user-list
>>
>
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] SVG to PNG using a script

2020-04-21 Thread Guy Stalnaker via gimp-user-list
Tres,

Several perhaps better options are tools intended for command line use:

https://www.imagemagick.org/script/download.php

Or, for considerably more sophisticated image work (with correspondingly
more detailed and opaque documentation) G'MIC (which also has a builtin
tool for use inside GIMP usually packaged with GIMP):

https://gmic.eu/download.shtml

Both of these tools can be scripted.

Regards.

Guy Stalnaker
jimmyg...@gmail.com


On Tue, Apr 21, 2020 at 2:47 PM Tres Finocchiaro via gimp-user-list <
gimp-user-list@gnome.org> wrote:

> Hi,
>
> I'm looking into Gimp as a viable scripting solution for a project however
> most of the scripting references I'm finding are either sparse or dated.
>
> I was wonder if there was a way to utilize Gimp's scripting system to
> convert an SVG to a PNG?
>
> The best resource I've found is here however, attempts to run this on my
> machine are failing using GIMP 2.1.0.
>
>
> http://www.jasonhardin.com/programming/2012/08/23/Gimp-svg-to-png-script/#disqus_thread
>
> The script I'm running:
> gimp -i --batch='(svg-to-raster "src.svg" "dst.png" 72 0 0)'
> --batch='(gimp-quit
> 0)'
>
> Unfortunately it throws the following error:
> batch command experienced an execution error:
> Error: eval: unbound variable: file-svg
>
> I'm using MacOS to write the script, but the target platform is Windows.
>
> I understand there are many other tools for performing this conversion (and
> I'm leveraging these tools in other parts of code) but I was hoping to
> write this as a fallback for this particular system.
>
> Best regards,
>
> -Tres
>
> - tres.finocchi...@gmail.com
> ___
> gimp-user-list mailing list
> List address:gimp-user-list@gnome.org
> List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
> List archives:   https://mail.gnome.org/archives/gimp-user-list
>
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Gimp-user] Readjust feature of Unified Transform moves pivot

2020-04-21 Thread BWK
Good day. I use Unified Transform to overlay very large layers where the actual
points that I want to line up can be anywhere in the overlay and not just at the
edges or near a transform handle. because of this requirement the new Readjust
feature of the Unified Transform tool is very useful.

There is one issue with it and that is that it moves the pivot each time it is
used, to the centre of the new adjustment frame. I would like to be able to keep
the pivot in the existing location.

I had thought that the option in the UT tool settings to Lock the pivot would
prevent this but unfortunately it does not.

Is it possible to consider this as a feature request for a future release.

-- 
BWK (via www.gimpusers.com/forums)
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] SVG to PNG using a script

2020-04-21 Thread Tres Finocchiaro via gimp-user-list
Apologies, typo:
Error: eval: unbound variable: file-svg

Should have been:
Error: eval: unbound variable: *svg-to-raster *



- tres.finocchi...@gmail.com


On Tue, Apr 21, 2020 at 3:47 PM Tres Finocchiaro 
wrote:

> Hi,
>
> I'm looking into Gimp as a viable scripting solution for a project however
> most of the scripting references I'm finding are either sparse or dated.
>
> I was wonder if there was a way to utilize Gimp's scripting system to
> convert an SVG to a PNG?
>
> The best resource I've found is here however, attempts to run this on my
> machine are failing using GIMP 2.1.0.
>
>
> http://www.jasonhardin.com/programming/2012/08/23/Gimp-svg-to-png-script/#disqus_thread
>
> The script I'm running:
> gimp -i --batch='(svg-to-raster "src.svg" "dst.png" 72 0 0)' 
> --batch='(gimp-quit
> 0)'
>
> Unfortunately it throws the following error:
> batch command experienced an execution error:
> Error: eval: unbound variable: file-svg
>
> I'm using MacOS to write the script, but the target platform is Windows.
>
> I understand there are many other tools for performing this conversion
> (and I'm leveraging these tools in other parts of code) but I was hoping to
> write this as a fallback for this particular system.
>
> Best regards,
>
> -Tres
>
> - tres.finocchi...@gmail.com
>
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Gimp-user] SVG to PNG using a script

2020-04-21 Thread Tres Finocchiaro via gimp-user-list
Hi,

I'm looking into Gimp as a viable scripting solution for a project however
most of the scripting references I'm finding are either sparse or dated.

I was wonder if there was a way to utilize Gimp's scripting system to
convert an SVG to a PNG?

The best resource I've found is here however, attempts to run this on my
machine are failing using GIMP 2.1.0.

http://www.jasonhardin.com/programming/2012/08/23/Gimp-svg-to-png-script/#disqus_thread

The script I'm running:
gimp -i --batch='(svg-to-raster "src.svg" "dst.png" 72 0 0)'
--batch='(gimp-quit
0)'

Unfortunately it throws the following error:
batch command experienced an execution error:
Error: eval: unbound variable: file-svg

I'm using MacOS to write the script, but the target platform is Windows.

I understand there are many other tools for performing this conversion (and
I'm leveraging these tools in other parts of code) but I was hoping to
write this as a fallback for this particular system.

Best regards,

-Tres

- tres.finocchi...@gmail.com
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Gimp-user] Toolbox into a single column (was: Lost icons)

2020-04-21 Thread Rick Strong

How do we do that?
Rick S


... it lets you make the toolbox into a single column down one side of the 
image window if you want.


slave liam 


___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


[Gimp-user] Cant delete layered tif file

2020-04-21 Thread CharlesJ-J
I exported a .tif file with layers from Gimp to desktop. Now it wont delete. I
look at task manager & Process/Memory is frozen. How do I get rid of this file,
please?

-- 
CharlesJ-J (via www.gimpusers.com/forums)
___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list


Re: [Gimp-user] Lost icons

2020-04-21 Thread Liam R E Quin
On Tue, 2020-04-21 at 10:45 +0100, Kevin Cook wrote:
> Dear Liam
> 
> Thank you so much.  Your advice has given me back all the tools I
> need 

You are more than welcome sir. Not that i am very young myself i
suppose :-)

We are - the GIMP team is- considering changes to make it clearer
what's going on with the grouped tools as other people are finding it
confusing too. But it lets you make the toolbox into a single column
down one side of the image window if you want.

slave liam

[reposting, remembering to copy the list, oops]


-- 
Liam Quin - web slave for https://www.fromoldbooks.org/
with fabulous vintage art and fascinating texts to read.
Click here to have the slave rewarded with nice stale bread

___
gimp-user-list mailing list
List address:gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list