Re: [Gimp-user] "Add Glow" and "Center Layer"

2005-12-11 Thread patman
On Sun, Dec 11, 2005 at 02:25:07AM -0800, Manish Singh wrote:

> A gimp-devel package *must* have a dependency that either directly or
> indirectly pulls in glib-devel. If it doesn't, the package's dependency
> specification is broken.

> SuSE has a history of being shoddy in this regard, other examples that
> have affected gimp are glib-devel not requiring pkg-config, aalib being
> linked against slang but not requiring slang-devel, and a few more I
> can't recall off the top of my head right now.

For Open SuSE 10:

# rpm -q -R -p gimp-devel-2.2.8-6.i586.rpm
gtk2-devel
glib2-devel
glibc-devel
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsBzip2) <= 3.0.5-1

# rpm -q -R -p glib2-devel-2.8.1-3.i586.rpm
glib2 = 2.8.1
pkgconfig
glibc-devel
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
/bin/sh
/usr/bin/perl
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libglib-2.0.so.0
libgobject-2.0.so.0
rpmlib(PayloadIsBzip2) <= 3.0.5-1

Are you saying the above is incorrect? How so?

> Please next time actually read and comprehend what's going on in the
> thread instead of sending out poorly researched knee-jerk defenses of
> your pet Linux distro. 

Yeh ...

-- Patrick Mansfield
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] using a mask to help blend exposures

2005-12-08 Thread patman
On Thu, Dec 08, 2005 at 04:53:50AM -0800, Asif Lodhi wrote:
> Hi Patrick,
> 
> On 12/7/05, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> X.
> > Message: 4
> X..
> > The part I am having trouble figuring out would be the "complete
> > replacement of the sky" technique. I need to add a portion of another
> > (darker) image, ideally via some layer mask.
> >
> > -- Patrick Mansfield
> 
> Though I haven't got around to read the tutorials myself but
> 
>  http://www.gimpguru.org/Tutorials/BlendingExposures/
> 
> seems to be what you are looking for.  This site has many other really
> excellent tutorials.

Yes, I have used that before, and that was referenced in my original post,
but I am using a mask instead of painting. 

Using a mask has problems with the edges (even after blurring the mask
there are obvious lines) that I haven't been able to get figure out yet.

I could generate a selection via the mask, and then hand paint the edges.

-- Patrick Mansfield
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] using a mask to help blend exposures

2005-12-07 Thread patman
On Wed, Dec 07, 2005 at 12:06:27PM -0800, Carol Spears wrote:
> On Wed, Dec 07, 2005 at 10:27:04AM -0800, [EMAIL PROTECTED] wrote:
> > On Wed, Dec 07, 2005 at 09:14:28AM -0800, Carol Spears wrote:
> > > On Tue, Dec 06, 2005 at 10:05:52PM -0800, [EMAIL PROTECTED] wrote:
> > 
> > > the xcf would have told me almost everything that i needed -- but i did
> > > not ask for that.
> > 
> > The xcf files (from a previous try) are there, under:
> > 
> > http://www.aracnet.com/~patman/gimp/
> > 
> http://carol.gimp.org/files/example.xcf.gz
> 
> > > i think that what you would like to do will be more easily accomplished
> > > if you mask only the upper layer.  what ever pixels are not transparent
> > > will block the same pixels from the layer below.
> > 
> > I think that is what I've been trying to do. It should make it easier to
> > fix up the resulting image if I can get all the data (multiple layers and
> > masks) into one xcf file. The method I have is working, but it is not easy
> > to fix up the result.
> > 
> what is stopping you from working with only one image?

That is what I've been trying to figure out!

> > > you can make whatever color adjustments to the color of the snow
> > > background on the lower layer (the levels tool is really nice for this)
> > > and handle the color of the puppy in the masked layer.
> > 
> > yes ... I am also using ufraw plug in for white balance / color adjustment
> > and exposure setting before editing in gimp.
> > 
> whatever works for you.

I don't think it's possible to do this with a jpg, at least it is more
limited in range of exposure values (AFAIUI), the raw has more
information, and you can adjust exposure levels (to some degree) with no
loss of detail.

> if you add your original layer to the ones i put together for you, you
> should have all you need to make it look better.
> 
> the mask i used is the hue layer in hsv decomposition.  i used the
> paintbrush to make the mask black where it should be black and white
> where it should be white -- meaning, the decomposition did not work
> entirely to make the mask the way i wanted it.
> 
> i am curious to know what kept you working on the images separately.

I got it now ... I just had to put both my under and over exposed images
in separate layers, add masks too each, and copy the threshold
(black/white image with some gaussian blur) and its inverted version into
the masks.

I still have to muck with the masks separately and copy them in again when
they are changed - I'm playing some with gaussian blur ranges, and affect
on the final photo.

Thanks ...

-- Patrick Mansfield
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] using a mask to help blend exposures

2005-12-07 Thread patman
On Wed, Dec 07, 2005 at 09:14:28AM -0800, Carol Spears wrote:
> On Tue, Dec 06, 2005 at 10:05:52PM -0800, [EMAIL PROTECTED] wrote:

> you have managed to provide an image that is as confusing as what you
> have described :)
> 
> congrats :)

Well that is how it goes ... 

> the xcf would have told me almost everything that i needed -- but i did
> not ask for that.

The xcf files (from a previous try) are there, under:

http://www.aracnet.com/~patman/gimp/

> i think that what you would like to do will be more easily accomplished
> if you mask only the upper layer.  what ever pixels are not transparent
> will block the same pixels from the layer below.

I think that is what I've been trying to do. It should make it easier to
fix up the resulting image if I can get all the data (multiple layers and
masks) into one xcf file. The method I have is working, but it is not easy
to fix up the result.

> you can make whatever color adjustments to the color of the snow
> background on the lower layer (the levels tool is really nice for this)
> and handle the color of the puppy in the masked layer.

yes ... I am also using ufraw plug in for white balance / color adjustment
and exposure setting before editing in gimp.

> the way to access the image part of a masked layer is to use the mouse
> to select the image icon in the Layers dialog.  there is a menu in that
> dialog that allows you to see the mask in the image as well.

> the things that you are doing in this image are very much like the
> tutorial i have that makes the sky nicer.  one masked layer and two
> separate color changes to the image (or a complete replacement of the
> sky, even) is the simplest way to handle that.

guess you mean:

http://carol.gimp.org/gimp2/photography/sky/replace/

The part I am having trouble figuring out would be the "complete
replacement of the sky" technique. I need to add a portion of another
(darker) image, ideally via some layer mask.

-- Patrick Mansfield
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] using a mask to help blend exposures

2005-12-06 Thread patman
On Tue, Dec 06, 2005 at 07:17:43PM -0800, Carol Spears wrote:
> On Tue, Dec 06, 2005 at 03:22:41PM -0800, [EMAIL PROTECTED] wrote:
> > On Tue, Dec 06, 2005 at 02:48:57PM -0800, Carol Spears wrote:
> > > On Tue, Dec 06, 2005 at 02:21:18PM -0800, [EMAIL PROTECTED] wrote:
> > > > 
> > > > I ended up with two images based on my mask, one with all black in
> > > > overexposed areas, one with all black in underexposed areas.
> > > > 
> > > adding a mask should only give you transparency or not transparent
> > 
> > It is confusing to me as to *what* is transparent though, as the actual
> > image is not modified until until I paste in my black/white mask (at least
> > the way I used it, and I thought you explained it).
> > 
> well, i did not say anthing about layer mode.  my idea of what you might
> have done is very confused by the introduction of this word into the
> description of what you did.

Well you explained how to apply the mask.

But yeh, I could not figure out a way to combine the resulting two masked
images with a mask. Reading gimp documentation/help about masks has not
helped so far :-( 

> > > > I copied one to a new layer in the other, and selected "addition" as the
> > > > layer mode.
> > > > 
> > > a layer mode is not a layer mask.  the mask is an easy way to have
> > > transparency.  the mode mixes the pixels of two layers mathematically.
> > 
> > So, is the best way to combine these images to use layers?
> > 
> it might be a good time to put the image online.  

below ...

> after the mask introduces the transparency to one layer, the mode can be
> used to change how the remaining pixels interact with the layer below
> it.  transparency occurs to one layer.  you can see the layer below, but
> it is visual only.  mode involves two layers.  it is much more
> complicated to explain and the introduction of it here makes the
> discussion almost uselessly complicated.

> > > > I have to clean up the mask edges (they are blurred already but need 
> > > > more
> > > > changes) and/or etc.
> > > > 
> > > the levels tool has been useful to me for making blurry images less
> > > blurred.
> > 
> > The image is sharp, I mean I used the gaussian blur to avoid hard edges on
> > my mask.
> > 
> so are you saying that you successfully cleaned up the mask images or
> that you still need to?

I'm saying I cleaned it up some, but it might need further cleanup. 

I did just did everything again (on 1/4 size images ... so I need one
another take), and cleaned out specks in the mask.


Here's an image showing the two images I started with (using the Canon raw
image, I created the two images on the left with different exposures), and
the mask I created using the threshold:

http://www.aracnet.com/~patman/gimp/gimp-snapshot.jpg

Using the above with layer masks, (plus the invert of the threshold mask),
I can create the following two (below on left and right), and then combine
these in two layers with "addition" mode to create the final image on the
far right:

http://www.aracnet.com/~patman/gimp/gimp-final.jpg

The final image is not much better than the darker image I started with :-(

Anyway, it's just hard to get good photos with a snow background,
especially white-on-white of the dog and snow.

I have another image I want to try this on, even if this didn't get
much improvment.

-- Patrick Mansfield
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] using a mask to help blend exposures

2005-12-06 Thread patman
On Tue, Dec 06, 2005 at 02:48:57PM -0800, Carol Spears wrote:
> On Tue, Dec 06, 2005 at 02:21:18PM -0800, [EMAIL PROTECTED] wrote:
> > 
> > I ended up with two images based on my mask, one with all black in
> > overexposed areas, one with all black in underexposed areas.
> > 
> adding a mask should only give you transparency or not transparent

It is confusing to me as to *what* is transparent though, as the actual
image is not modified until until I paste in my black/white mask (at least
the way I used it, and I thought you explained it).

> > I copied one to a new layer in the other, and selected "addition" as the
> > layer mode.
> > 
> a layer mode is not a layer mask.  the mask is an easy way to have
> transparency.  the mode mixes the pixels of two layers mathematically.

So, is the best way to combine these images to use layers?

> > I have to clean up the mask edges (they are blurred already but need more
> > changes) and/or etc.
> > 
> the levels tool has been useful to me for making blurry images less
> blurred.

The image is sharp, I mean I used the gaussian blur to avoid hard edges on
my mask.

-- Patrick Mansfield
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] using a mask to help blend exposures

2005-12-06 Thread patman
On Tue, Dec 06, 2005 at 02:48:27AM -0800, Carol Spears wrote:
> On Mon, Dec 05, 2005 at 08:08:13PM -0800, [EMAIL PROTECTED] wrote:
> > 
> > I also tried Carol's "removing background" tutorial:
> > 
> > http://carol.gimp.org/gimp2/basics/backgroundremoval/
> > 
> > But it does not describe the "Add the decomposed image as a mask" portion.
> > 
> > Can some explain it or point to a tutorial on the subject?
> > 
> Dialogs-->Layers
> 
> in that dockable dialog, right click on the layer you would like to mask
> and select "Add Layer Mask" (i am typing this from memory so no
> guarrentee on the exact wording).
> 
> there will be a dialog with a choice of mask color/opacity.  just stick
> with the default since the next step is to copy another image to it.
> 
> Decompose gives several layers.  i would convert the decompose image to
> rgb (some of the gimps had problems copying grayscale and i cannot
> remember which ones).  Edit-->Copy on the layer you want as a mask
> Edit-->Paste to the mask area on the target image.
> 
> black on masks is transparent, white is opague.  gray is a little of
> both.
> 
> is that what you asked?

Yes, I think I did some things the hard way though.

I ended up with two images based on my mask, one with all black in
overexposed areas, one with all black in underexposed areas.

I copied one to a new layer in the other, and selected "addition" as the
layer mode.

I have to clean up the mask edges (they are blurred already but need more
changes) and/or etc.

-- Patrick Mansfield
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] using a mask to help blend exposures

2005-12-05 Thread patman
Hi -

I'm trying to combine two images to get better exposure levels, very much
like this tutorial:

http://www.gimp.org/tutorials/Blending_Exposures/

Instead of painting to get the right areas, I want to use a mask to select
the area.

I have used a raw image to create two images for bright and dark
exposures. And, I have created decent mask via tools -> color tools ->
threshold.

I also tried Carol's "removing background" tutorial:

http://carol.gimp.org/gimp2/basics/backgroundremoval/

But it does not describe the "Add the decomposed image as a mask" portion.

Can some explain it or point to a tutorial on the subject?

Thanks ...

-- Patrick Mansfield
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [gimp] Re: [Gimp-user] Decrease many image sizes

2005-11-23 Thread patman
On Wed, Nov 23, 2005 at 10:29:39AM +0100, John Bougainville wrote:

> >No, this is not _the_ way for this simple task. The approaches with
> >the ImageMagick tools are much more simple and easier to handle.
> >And: ImageMagick is part of many Linux distributions.
> >
> >So, really no need to dig into Script-Fu for this ...
> >
> Imagemagick is certainly very good for that but i prefer Gimp and 

Why the preference? Does Gimp produce better images? 

I have used both, but never tried to compare the two.

-- Patrick Mansfield
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] automatical white balance

2005-11-16 Thread patman
On Thu, Nov 17, 2005 at 01:10:19AM +0300, Alexandre Prokoudine wrote:
> On 11/17/05, Timo Steuerwald <[EMAIL PROTECTED]> wrote:
> 
> > Hey, that's a cool feature! Thanks a lot! I didn't know that up to now,
> > but anyway: How does this automatical white balance work?
> 
> I don't know how exactly this engine ticks, but I can to to guess: it
> searches for the lightest pixel in the image and makes GIMP believe
> that it is white and then it shifts other colors appropriately. But
> that's my guess. Probably gimp-help package contains information you
> want to know.

I'd like to understand it better too, if someone has an actual explanation
or links to documentation, please post (I searched a bit for gimp white
balance ... not much in terms of explanation)).

I think the auto white balance is the same thing as Tools -> Color Tools
-> Levels, then select "auto", but you have flexibility with the levels
tool.

It looks like the auto leveling just sets each color such that they are
evenly distributed, by setting "dark" and "light" tones (that is what the
help menu calls them) such that they are at the low and high range of where
each  color shows up. Just play with it some and you can see what I mean ...

Read this for a good explanation on using the level tool:

http://world.std.com/~mmcirvin/gimp_tutorial/levels_curves.html

Try auto leveling, and then look and play with the setting for each of the
three *color* channels (i.e. not the default "Value" channel, auto does
not modify it). I'll often adjust the values towards their original values
in order to get more accurate colors.

This must be similar to in-camera auto white balance.  And even the
in-camera auto white balance is sometimes wrong (and probably why you are
trying to fix this in gimp ... or maybe you picked "sunny" white blance, and
forgot to switch when moving indoors under incandescent light).

It would be nice if there were gimp level settings like "cloudy",
"tungsten" etc., like we have for dcraw, but I guess those can only be
applied to raw images (or to images with no modification to their white
balance), else it would be somewhat a useless.

-- Patrick Mansfield
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Can't get this image sharp with GIMP. Any suggestions?

2005-11-02 Thread patman
On Wed, Nov 02, 2005 at 02:19:56PM +0100, qeldroma wrote:
> Ok, so i will try to answer every question:
> 
> Am Mittwoch, 2. November 2005 01:56 schrieben Sie:
> > i am sure your willingness to answer will be just as keen as your
> > willingness to ask for help here.
> Of course ;)
> 
> I have asked a designer someone from a marketing corporate and he told me, 
> that this is no big problem with photoshop, but i can't speak of my own 
> experiences, though..

Maybe he can unblur it for you?

I'd like to see any before/after comparisons for fixups of this type, PS
or gimp.

> > How was the camera being held?  Was it sitting on something, or was it
> > in your hand? 
> No matter how, because EVERY image get's blured. It could be summer in the 
> desert and it would get blured ;)
> 
> It's just a 2MPix handy-cam, so that's the reason, but i don't need PERFECT 
> results, just a little bit better results, i know i know, it's just a 
> handy ;)

Image size or such does not mean you can't get focused, sharp pictures.
If every image is blurred, something is wrong with the camera or the user.

Did you try using a tripod, or resting the camera on table/beanbag/whatever?

Or turn on a bright(er) light?

-- Patrick Mansfield
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Can't get this image sharp with GIMP. Any suggestions?

2005-11-01 Thread patman
On Tue, Nov 01, 2005 at 09:36:27PM +0100, qeldroma wrote:

> i've got a bad digital camera and want to work over the results. Bad in this 
> case means, that i've got good resolution and good results concerning the 
> light, but a bad sharpness.
> 
> My idea is, that if i've got a good resolution, what the fact is, there must 
> be a way to sharpen it. Isn't it?
> 
> As example you can take the following picture:
> http://www.rustedt.de/fileadmin/_temp_/Photo-0036.jpg

It's blurred, no sharpening can fix that. AFAIK, there are no good methods
to fix blurring, short of a tripod :-(

-- Patrick Mansfield
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Compiling refocus

2005-08-04 Thread patman
On Thu, Aug 04, 2005 at 11:40:14AM -1000, wayne wrote:
> On Thursday 04 August 2005 07:00 am, Raphaël Quinet wrote:

> > It is very likely that you have not installed the development
> > packages on your system (probably called gtk-devel, gimp-devel
> > or something similar).  These packages contain the header files
> > such as gtk.h that are necessary for compiling programs.

> Still haven't been able to compile refocus.
> I tried installing libgtkmm.2.4_1-devel-2.6.1-1mdk  and 
> libgtk+1.2-devel-1.2.10-41mdk but so far no change.

You are still missing gimp-devel.

> checking for GIMP - version >= 1.2.0... no
> *** The gimptool script installed by GIMP could not be found
> *** If GIMP was installed in PREFIX, make sure PREFIX/bin is in
> *** your path, or set the GIMPTOOL environment variable to the
> *** full path to gimptool.

> -fomit-frame-pointer -O3 -funroll-all-loops -c refocus.c
> refocus.c:27:26: libgimp/gimp.h: No such file or directory
> In file included from refocus.c:32:

___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] "fit canvas to layers" needed after a crop

2005-07-28 Thread patman
On Thu, Jul 28, 2005 at 10:38:49AM -0700, Carol Spears wrote:
> On Thu, Jul 28, 2005 at 08:30:50AM -0700, [EMAIL PROTECTED] wrote:
> > Hi -
> > 
> > I used to crop, and the canvas size would change to match the crop size.
> > 
> > Now, I always have to select the image -> "fit canvas to layers" after
> > each
> > crop to resize the canvas.
> > 
> > I must have changed some global option or something.
> > 
> > Anyone know what global setting or option I need to set?
> > 
> look in Dialogs -->Tool Options.  there is a toggle for cropping the
> whole image or just one layer now.  if you set it to crop the whole
> image, you will get the old behavior back.

Okay ... I had tried crop and resize on the crop tool options with no
change, but un-checking the "current layer only" gets me back to the behaviour
I wanted, thanks!

-- Patrick Mansfield
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] "fit canvas to layers" needed after a crop

2005-07-28 Thread patman
Hi -

I used to crop, and the canvas size would change to match the crop size.

Now, I always have to select the image -> "fit canvas to layers" after
each
crop to resize the canvas.

I must have changed some global option or something.

Anyone know what global setting or option I need to set?

Thanks ...

[sorry if this is a duplicate, no bounce and nothing seen in the archives,
but I am now subscribed and I'm resending this.]

-- Patrick Mansfield

___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user