Re: [Gimp-user] Drop shadow

2018-06-12 Thread Frank Turk
See attached for my very rough-and-ready 5-cell animation with a drop
shadow.

On Tue, Jun 12, 2018 at 12:37 PM ustharp  wrote:

> I am creating a GIF animation over a static background.  I want the
> background
> to have a drop shadow.  For some reason when I do this, my drop shadow
> turns
> solid... it does not fade out.  It is just a solid offset layer.  I can't
> for
> the life of me understand why.
>
> Any ideas?
>
> --
> ustharp (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
>
___
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] Drop shadow

2018-06-12 Thread Frank Turk
I have an idea for you, but I have no idea whether or not you want to spend
this kind of time greating an animated GIF.  GiMP can of course do it, but
you would almost be better off drawing the cells by hand and usinging your
smart phone and a GIF-making app to get the final result.

If you care creating a drop shadow, you are using layers to get there,
right?  Even the filter uses layers.  But in GiMP, to make an animation,
each cell has to be a layer -- so you must effectively flatten the layers
every time you make a new cell.

My thought is this: you need to have 3 images open:
1. Your master image in which you are creating each cell (using layers)
2. a "slave" image in which you flatten the master and then convert from
RGB to indexed
3. your animation file, in which you paste each new cell as a layer as you
convert it

If that workflow doesn't make sense to you, I can give you more steps to
follow.  The idea is that you are doing the high-res, high-quality work in
the master image; you are taking the master image each time you change it
and flattening it down and reducing the colors for use in a GIF; and you
are assembling the GIF in its own indexed-color file.

Hope that helps!

On Tue, Jun 12, 2018 at 12:37 PM ustharp  wrote:

> I am creating a GIF animation over a static background.  I want the
> background
> to have a drop shadow.  For some reason when I do this, my drop shadow
> turns
> solid... it does not fade out.  It is just a solid offset layer.  I can't
> for
> the life of me understand why.
>
> Any ideas?
>
> --
> ustharp (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
>
___
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] Drop shadow

2018-06-12 Thread Steve Kinney



On 06/12/2018 09:41 AM, ustharp wrote:
> I am creating a GIF animation over a static background.  I want the background
> to have a drop shadow.  For some reason when I do this, my drop shadow turns
> solid... it does not fade out.  It is just a solid offset layer.  I can't for
> the life of me understand why.
> 
> Any ideas?

Unfortunately the GIF format does not support partial transparency (no
alpha channel).  If you know the exact background the GIF will be
displayed on, you can use that background as an opaque layer - with a
soft-edged drop shadow added where you want it.

:o)

I would suggest trying an animated PNG file, which supports partial
transparency (alpha channel present) but alas, if your animation will be
displayed on a web page, Inernet Explorer and MS Edge do not support
that format (according to Wikipedia - may be old info).

I never made an animated PNG file, so any advice on that including
whether the GIMP can make them, or whether you would have to make the
frames in the GIMP and assemble them with another program.

:o/


___
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] Drop shadow

2018-06-12 Thread ustharp
I am creating a GIF animation over a static background.  I want the background
to have a drop shadow.  For some reason when I do this, my drop shadow turns
solid... it does not fade out.  It is just a solid offset layer.  I can't for
the life of me understand why.

Any ideas?

-- 
ustharp (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


[Gimp-user] Drop shadow

2018-06-12 Thread rich404
>I am creating a GIF animation over a static background.  I want the
>background to have a drop shadow.  For some reason when I do this, my
>drop shadow turns solid... it does not fade out.  It is just a solid
>offset layer.  I can't for the life of me understand why.
>
>Any ideas?

It sounds like you are using the Gimp 2.8 drop shadow filter. Is that correct?
For that to work the image is in RGB mode.

Indexed color mode as used by gif only has transparency either on or off. Going
from RGB to Indexed results in losing the drop shadow semi-transparent pixels.
see screenshot 1

First thing to do in RGB mode is merge the background and drop shadow layers.

Still in RGB mode you then have a choice.

Either, lose the transparency of that bottom layer as screenshot 2 Layer ->
Transparency -> Remove alpha channel Then export as an animated gif. see
screenshot 2

Or, before exporting as an animated gif, convert to Indexed Mode. Image -> Mode
-> Indexed and Enable dithering of Transparency. That gives the impression of
shading. see: screenshot 3

rich: www.gimp-forum.net

Attachments:
* http://www.gimpusers.com/system/attachments/931/original/01-drop.jpg
* http://www.gimpusers.com/system/attachments/932/original/02-drop.jpg
* http://www.gimpusers.com/system/attachments/933/original/03-drop.jpg

-- 
rich404 (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] drop shadow

2013-06-04 Thread Helen
Steve, that's wonderful -- hand roll my own shadows!  Seems so simple and
obvious after it's explained that I wonder why I ever thought I needed a
plug-in for this.
So cool!
Thanks, Steve


On Mon, Jun 3, 2013 at 11:50 PM, Steve Kinney ad...@pilobilus.net wrote:

 On 06/03/2013 10:32 PM, Helen wrote:
  I have an image with two rectangular photos, in separate layers.
  I want each photo to have a drop shadow.   No matter what I do,
  I keep getting the drop shadow applied to the entire image, not
  to the layers.  I've tried creating the drop shadow while on the
  individual layers, while on the background, I've tried it with
  layers selected -- regardless of what I do, the drop shadow
  keeps applying to the entire image.
  I used to know how to do this!
  Help?  Suse 12.3, gimp 2.8

 Hey Helen,

 You might want to try doing Layers  Autocrop Layer against the
 layers with photos in them, before using a drop shadow plugin on
 them.  That might do the trick.

 Or make the shadows yourself - this would be my approach:

 1.  Create a new transparent layer, move it below the two layers
 with photos in them.

 2.  Select one of the layers with a photo in your Layers dock, right
 click the layer thumbnail and do Alpha to selection

 3.  Select the new transparent layer, drag and drop to the main
 canvas to fill the selection with black.

 4.  Select the other layer with a photo, right click and do Alpha
 to selection again.

 5.  Select the new transparent layer, drag and drop to fill the 2nd
 selection with black.

 6.  Do Select  None (or control + alt + a) to clear the selection.

 Your transparent layer now has two black rectangles, hidden under
 the photos in the layers above.  Use the tool at Filters  Blur 
 Gaussian Blur to soften the edges of the shadow rectangles, then
 turn on the Move tool in your main toolbox and use the arrow keys on
 your keyboard to tweak the location of the shadows.  Adjust the
 shadow layer's transparency if required.

 :o)

 Steve






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




-- 
Helen Etters
using Linux, suse12.3
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] drop shadow

2013-06-04 Thread Richard Gitschlag
 Date: Mon, 3 Jun 2013 22:32:39 -0400
 From: etter...@gmail.com
 To: gimp-user-list@gnome.org
 Subject: [Gimp-user] drop shadow
 
 I have an image with two rectangular photos, in separate layers.
 I want each photo to have a drop shadow.   No matter what I do,
 I keep getting the drop shadow applied to the entire image, not
 to the layers.  I've tried creating the drop shadow while on the
 individual layers, while on the background, I've tried it with
 layers selected -- regardless of what I do, the drop shadow
 keeps applying to the entire image.
 I used to know how to do this!
 Help?  Suse 12.3, gimp 2.8
 Thanks much
 

I'm curious how this is even happening in the first place, because from my 
experience the drop shadow uses, in order:

1 - If you have a selection, it creates a shadow based on the selection mask.
2 - Or, if your layer has an alpha channel, it uses that.
3 - Otherwise, it uses the entire current layer.

It's true that performing your own shadows is completely doable, but if it's 
something you do a lot then having an automated script/plug-in for it does save 
you a lot of work.  (Assuming it functions correctly, of course.)

Do you have screenshots of what your results are?  If it's creating a 
drop shadow around the entire image border then the most obvious problem would 
normally be not having the correct layer selected before executing it 
(or having layer boundaries extended to the whole image).

-- Stratadrake
strata_ran...@hotmail.com

Numbers may not lie, but neither do they tell the whole truth.

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


[Gimp-user] drop shadow

2013-06-03 Thread Helen
I have an image with two rectangular photos, in separate layers.
I want each photo to have a drop shadow.   No matter what I do,
I keep getting the drop shadow applied to the entire image, not
to the layers.  I've tried creating the drop shadow while on the
individual layers, while on the background, I've tried it with
layers selected -- regardless of what I do, the drop shadow
keeps applying to the entire image.
I used to know how to do this!
Help?  Suse 12.3, gimp 2.8
Thanks much



-- 
Helen Etters
using Linux, suse12.3
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] drop shadow

2013-06-03 Thread Steve Kinney
On 06/03/2013 10:32 PM, Helen wrote:
 I have an image with two rectangular photos, in separate layers.
 I want each photo to have a drop shadow.   No matter what I do,
 I keep getting the drop shadow applied to the entire image, not
 to the layers.  I've tried creating the drop shadow while on the
 individual layers, while on the background, I've tried it with
 layers selected -- regardless of what I do, the drop shadow
 keeps applying to the entire image.
 I used to know how to do this!
 Help?  Suse 12.3, gimp 2.8

Hey Helen,

You might want to try doing Layers  Autocrop Layer against the
layers with photos in them, before using a drop shadow plugin on
them.  That might do the trick.

Or make the shadows yourself - this would be my approach:

1.  Create a new transparent layer, move it below the two layers
with photos in them.

2.  Select one of the layers with a photo in your Layers dock, right
click the layer thumbnail and do Alpha to selection

3.  Select the new transparent layer, drag and drop to the main
canvas to fill the selection with black.

4.  Select the other layer with a photo, right click and do Alpha
to selection again.

5.  Select the new transparent layer, drag and drop to fill the 2nd
selection with black.

6.  Do Select  None (or control + alt + a) to clear the selection.

Your transparent layer now has two black rectangles, hidden under
the photos in the layers above.  Use the tool at Filters  Blur 
Gaussian Blur to soften the edges of the shadow rectangles, then
turn on the Move tool in your main toolbox and use the arrow keys on
your keyboard to tweak the location of the shadows.  Adjust the
shadow layer's transparency if required.

:o)

Steve






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