Re: [Gimp-user] normalmap and resynthesizer plug-ins and gimp 2.6

2008-12-16 Thread peter kostov
Doug wrote:
 peter kostov wrote:
 Hi,

 does anybody know if the normalmap and the resynthesizer plug-ins do 
 work with GIMP 2.6?

 I am on Gentoo and currently have two different versions of GIMP - 2.4 
 installed system wide and 2.6 installed only for me. I use 2.4 when I 
 need these plug-ins and 2.6 for everything else.
 Currently if I try to use these and other plug-ins (I am not speaking 
 of these that came with the GIMP itself) with GIMP 2.6 I am getting an 
 error message like this:

 gimp_plug_in_handle_proc_run: ERROR

 Could not execute plug-in normalmap
 (/home/peter/.gimp-2.6/plug-ins/normalmap)
 because it uses an obsolete version of the plug-in protocol.

 Greetings,
 Peter Kostov

 _
 Hi,
 I have resynthesizer working on 2.6.3.
 
 Doug
 

That's good!

I know I have to recompile them, but I don't know how to recompile them 
against a specific version of GIMP, not the system wide installed. And 
that is why I decided to ask you, before I upgrade my GIMP system wide.

Thanks for your time!

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


Re: [Gimp-user] normalmap and resynthesizer plug-ins and gimp 2.6

2008-12-16 Thread Doug
peter kostov wrote:
 David Gowers wrote:
 On Tue, Dec 16, 2008 at 10:08 PM, peter kostov g...@light-bg.com 
 wrote:
 Doug wrote:
 peter kostov wrote:
 Hi,

 does anybody know if the normalmap and the resynthesizer plug-ins do
 work with GIMP 2.6?

 I am on Gentoo and currently have two different versions of GIMP - 
 2.4
 installed system wide and 2.6 installed only for me. I use 2.4 when I
 need these plug-ins and 2.6 for everything else.
 Currently if I try to use these and other plug-ins (I am not speaking
 of these that came with the GIMP itself) with GIMP 2.6 I am 
 getting an
 error message like this:

 gimp_plug_in_handle_proc_run: ERROR

 Could not execute plug-in normalmap
 (/home/peter/.gimp-2.6/plug-ins/normalmap)
 because it uses an obsolete version of the plug-in protocol.

 Greetings,
 Peter Kostov

 _
 Hi,
 I have resynthesizer working on 2.6.3.

 Doug

 That's good!

 I know I have to recompile them, but I don't know how to recompile them
 against a specific version of GIMP, not the system wide installed. And
 that is why I decided to ask you, before I upgrade my GIMP system wide.
 Well, if you use the gimptool belonging to your 2.6 GIMP to compile
 the plugin, rather than the systemwide gimptool, that should be
 effective.

 David


 Hm, thanks David, but it isn't so easy, because the package uses 
 pkg-config too. So I tried to alter the Makefile by defining the path 
 to the new gimptool and adding 
 --define-variable=prefix=/home/peter/install/gimp to the pkg-config 
 command to tell it where to search for libraries, but then the make 
 failed with LOTS of errors like this:
 /home/peter/install/gimp/include/gimp-2.0/libgimpcolor/gimpcolorspace.h:76: 
 error: expected ')' before '*' token


 Greetings,
 Peter

I don't know if this will help in your case; but in general I find it 
better not to mess around with the Makefile and try to get round this 
sort of problem by setting the PKG_CONFIG_PATH.
For example, PKG_CONFIG_PATH=/usr/local/lib/pkconfig (or wherever's 
appropriate, instead of the system-wide /usr/lib/pkconfig) ; export 
PKG_CONFIG_PATH; ./configure; make; make install

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


Re: [Gimp-user] normalmap and resynthesizer plug-ins and gimp 2.6

2008-12-16 Thread peter kostov
David Gowers wrote:
 On Tue, Dec 16, 2008 at 10:08 PM, peter kostov g...@light-bg.com wrote:
 Doug wrote:
 peter kostov wrote:
 Hi,

 does anybody know if the normalmap and the resynthesizer plug-ins do
 work with GIMP 2.6?

 I am on Gentoo and currently have two different versions of GIMP - 2.4
 installed system wide and 2.6 installed only for me. I use 2.4 when I
 need these plug-ins and 2.6 for everything else.
 Currently if I try to use these and other plug-ins (I am not speaking
 of these that came with the GIMP itself) with GIMP 2.6 I am getting an
 error message like this:

 gimp_plug_in_handle_proc_run: ERROR

 Could not execute plug-in normalmap
 (/home/peter/.gimp-2.6/plug-ins/normalmap)
 because it uses an obsolete version of the plug-in protocol.

 Greetings,
 Peter Kostov

 _
 Hi,
 I have resynthesizer working on 2.6.3.

 Doug

 That's good!

 I know I have to recompile them, but I don't know how to recompile them
 against a specific version of GIMP, not the system wide installed. And
 that is why I decided to ask you, before I upgrade my GIMP system wide.
 Well, if you use the gimptool belonging to your 2.6 GIMP to compile
 the plugin, rather than the systemwide gimptool, that should be
 effective.
 
 David
 

Hm, thanks David, but it isn't so easy, because the package uses 
pkg-config too. So I tried to alter the Makefile by defining the path to 
the new gimptool and adding 
--define-variable=prefix=/home/peter/install/gimp to the pkg-config 
command to tell it where to search for libraries, but then the make 
failed with LOTS of errors like this:
/home/peter/install/gimp/include/gimp-2.0/libgimpcolor/gimpcolorspace.h:76: 
error: expected ')' before '*' token


Greetings,
Peter
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] normalmap and resynthesizer plug-ins and gimp 2.6

2008-12-16 Thread peter kostov
Doug wrote:
 peter kostov wrote:
 David Gowers wrote:
 On Tue, Dec 16, 2008 at 10:08 PM, peter kostov g...@light-bg.com 
 wrote:
 Doug wrote:
 peter kostov wrote:
 Hi,

 does anybody know if the normalmap and the resynthesizer plug-ins do
 work with GIMP 2.6?

 I am on Gentoo and currently have two different versions of GIMP - 
 2.4
 installed system wide and 2.6 installed only for me. I use 2.4 when I
 need these plug-ins and 2.6 for everything else.
 Currently if I try to use these and other plug-ins (I am not speaking
 of these that came with the GIMP itself) with GIMP 2.6 I am 
 getting an
 error message like this:

 gimp_plug_in_handle_proc_run: ERROR

 Could not execute plug-in normalmap
 (/home/peter/.gimp-2.6/plug-ins/normalmap)
 because it uses an obsolete version of the plug-in protocol.

 Greetings,
 Peter Kostov

 _
 Hi,
 I have resynthesizer working on 2.6.3.

 Doug

 That's good!

 I know I have to recompile them, but I don't know how to recompile them
 against a specific version of GIMP, not the system wide installed. And
 that is why I decided to ask you, before I upgrade my GIMP system wide.
 Well, if you use the gimptool belonging to your 2.6 GIMP to compile
 the plugin, rather than the systemwide gimptool, that should be
 effective.

 David


 Hm, thanks David, but it isn't so easy, because the package uses 
 pkg-config too. So I tried to alter the Makefile by defining the path 
 to the new gimptool and adding 
 --define-variable=prefix=/home/peter/install/gimp to the pkg-config 
 command to tell it where to search for libraries, but then the make 
 failed with LOTS of errors like this:
 /home/peter/install/gimp/include/gimp-2.0/libgimpcolor/gimpcolorspace.h:76: 
 error: expected ')' before '*' token


 Greetings,
 Peter

 I don't know if this will help in your case; but in general I find it 
 better not to mess around with the Makefile and try to get round this 
 sort of problem by setting the PKG_CONFIG_PATH.
 For example, PKG_CONFIG_PATH=/usr/local/lib/pkconfig (or wherever's 
 appropriate, instead of the system-wide /usr/lib/pkconfig) ; export 
 PKG_CONFIG_PATH; ./configure; make; make install
 
 HTH
 Doug
 

Yes Doug, this is a better approach indeed. But it didn't help me. Even 
so the compiled plug-in doesn't work with the same errors as above 
(about the old protocol). In my case there isn't a configure step.
I am digging into this further.

Thanks again,
Peter
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] normalmap and resynthesizer plug-ins and gimp 2.6

2008-12-16 Thread Doug
peter kostov wrote:
 Hi,

 does anybody know if the normalmap and the resynthesizer plug-ins do 
 work with GIMP 2.6?

 I am on Gentoo and currently have two different versions of GIMP - 2.4 
 installed system wide and 2.6 installed only for me. I use 2.4 when I 
 need these plug-ins and 2.6 for everything else.
 Currently if I try to use these and other plug-ins (I am not speaking of 
 these that came with the GIMP itself) with GIMP 2.6 I am getting an 
 error message like this:

 gimp_plug_in_handle_proc_run: ERROR

 Could not execute plug-in normalmap
 (/home/peter/.gimp-2.6/plug-ins/normalmap)
 because it uses an obsolete version of the plug-in protocol.

 Greetings,
 Peter Kostov

 _
Hi,
I have resynthesizer working on 2.6.3.

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


Re: [Gimp-user] normalmap and resynthesizer plug-ins and gimp 2.6

2008-12-16 Thread David Gowers
On Tue, Dec 16, 2008 at 10:08 PM, peter kostov g...@light-bg.com wrote:
 Doug wrote:
 peter kostov wrote:
 Hi,

 does anybody know if the normalmap and the resynthesizer plug-ins do
 work with GIMP 2.6?

 I am on Gentoo and currently have two different versions of GIMP - 2.4
 installed system wide and 2.6 installed only for me. I use 2.4 when I
 need these plug-ins and 2.6 for everything else.
 Currently if I try to use these and other plug-ins (I am not speaking
 of these that came with the GIMP itself) with GIMP 2.6 I am getting an
 error message like this:

 gimp_plug_in_handle_proc_run: ERROR

 Could not execute plug-in normalmap
 (/home/peter/.gimp-2.6/plug-ins/normalmap)
 because it uses an obsolete version of the plug-in protocol.

 Greetings,
 Peter Kostov

 _
 Hi,
 I have resynthesizer working on 2.6.3.

 Doug


 That's good!

 I know I have to recompile them, but I don't know how to recompile them
 against a specific version of GIMP, not the system wide installed. And
 that is why I decided to ask you, before I upgrade my GIMP system wide.
Well, if you use the gimptool belonging to your 2.6 GIMP to compile
the plugin, rather than the systemwide gimptool, that should be
effective.

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


Re: [Gimp-user] Don't reinvent the wheel department....

2008-12-16 Thread Doug
Noel Stoutenburg wrote:
 Friends:

 Where I wrote:
   
 ...snippage... GIMP co-ordinates 726,110. ...snippage...
   
 
 I inadvertantly used co-ordinates from the wrong image; in the image

  http://users.waymark.net/mjolnir-dsl/12T1.tif)


 the mid-gray tones that contain the useful information are the pixels 
 around 635,134.

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

   
Hi,
With barely legible documents, especially if you've got any number of 
them, I'd suggest trying Digikam first.
It's much quicker than using Gimp and in most cases it will give you a 
very good or at least acceptable result.

I usually start with Digikam and resort to Gimp only if Digikam isn't 
good enough.

Digikam: Image =Edit=Color=Auto-Correction; then try which of the 4 
options gives you the most legible result. You can do further tweaking 
on the autocorrected image.

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


Re: [Gimp-user] normalmap and resynthesizer plug-ins and gimp 2.6

2008-12-16 Thread Daniel Hornung
On Tuesday 16 December 2008, peter kostov wrote:
 Hm, thanks David, but it isn't so easy, because the package uses
 pkg-config too.

Try setting your PKG_CONFIG_PATH before configuring the plugins.

Greetings, Daniel


signature.asc
Description: This is a digitally signed message part.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] normalmap and resynthesizer plug-ins and gimp 2.6

2008-12-16 Thread Sven Neumann
Hi,

On Mon, 2008-12-15 at 20:05 +0200, peter kostov wrote:

 does anybody know if the normalmap and the resynthesizer plug-ins do 
 work with GIMP 2.6?

GIMP provides backward compatibility for plug-ins. Any dynamically
linked plug-in compiled for an older version of GIMP will continue to
work without the need to recompile it.

 I am on Gentoo and currently have two different versions of GIMP - 2.4 
 installed system wide and 2.6 installed only for me. I use 2.4 when I 
 need these plug-ins and 2.6 for everything else.
 Currently if I try to use these and other plug-ins (I am not speaking of 
 these that came with the GIMP itself) with GIMP 2.6 I am getting an 
 error message like this:
 
 gimp_plug_in_handle_proc_run: ERROR
 
 Could not execute plug-in normalmap
 (/home/peter/.gimp-2.6/plug-ins/normalmap)
 because it uses an obsolete version of the plug-in protocol.

This means that your plug-in is either linked statically or that it is
picking up the wrong libgimp library (the one for GIMP 2.4).


Sven


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


Re: [Gimp-user] Problem using a plug-in in script-fu

2008-12-16 Thread Sven Neumann
Hi,

On Tue, 2008-12-16 at 06:43 +0100, Stefano wrote:

   (let*
 (
   (image (car (gimp-image-new 800 600 RGB)))
   (background-layer (car (gimp-layer-new image 800 600 RGB-IMAGE 
 Background 100 NORMAL-MODE)))
   (background-photo (car (gimp-file-load-layer RUN-NONINTERACTIVE image 
 C:/Foto/2008-03 Italy/Bologna/img_0472.jpg)))
 )
 (gimp-message (string-append (number-string image) \n (number-string 
 background-photo)))
 (gimp-drawable-fill background-layer BG-IMAGE-FILL)
 (gimp-image-add-layer image background-layer -1)
 (gimp-image-add-layer image background-photo -1)
 (gimp-layer-set-opacity background-photo 20)
 (gimp-layer-scale background-photo 800 600 FALSE)
 (gimp-layer-set-offsets background-photo 10 20)
 (plug-in-cartoon 1 image background-layer 7 0.2)
 (gimp-display-new image)

You are running plug-in-cartoon on the drawable 'background-layer'. You
probably want to run it on 'background-photo' instead.


Sven


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


Re: [Gimp-user] Trying to make a mirror image.(Shadow)

2008-12-16 Thread classiccars



classiccars wrote:
 
  http://www.nabble.com/file/p20747921/29b6_3.jpg 
 
 I'm trying to make an image that looks like this. How can I make a photo
 of a car look like it is sitting on a mirror?  I didn't do this one,
 someone else did. I'm sure they flipped and added some shading for the
 bottom of the car. The think I don't understand is how they flipped the
 image on two different axis to getting the Shadow image to look like
 that. Any suggestions? 
 Thanks for any help or ideas.. Ken 
 


Has anyone done anything like this before with their Gimp software?
-- 
View this message in context: 
http://www.nabble.com/Trying-to-make-a-mirror-image.%28Shadow%29-tp20747921p21044396.html
Sent from the Gimp User mailing list archive at Nabble.com.

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


Re: [Gimp-user] Trying to make a mirror image.(Shadow)

2008-12-16 Thread Chris Mohler
On Wed, Dec 17, 2008 at 5:47 PM, classiccars ktjdkre...@aol.com wrote:



 classiccars wrote:

  http://www.nabble.com/file/p20747921/29b6_3.jpg

 I'm trying to make an image that looks like this. How can I make a photo
 of a car look like it is sitting on a mirror?  I didn't do this one,
 someone else did. I'm sure they flipped and added some shading for the
 bottom of the car. The think I don't understand is how they flipped the
 image on two different axis to getting the Shadow image to look like
 that. Any suggestions?
 Thanks for any help or ideas.. Ken



 Has anyone done anything like this before with their Gimp software?

Not recently, but I do think you're going to have to take a
piecemeal approach to the problem - IE, make a copy of the layer,
delete all but the car's side, and then flip it.  Repeat for other
sections of the car.  It's a big job - expect to spend a couple of
hours at the very least... That's why I was wondering if you could
park the car in a shallow puddle and then take the photo - that would
probably be less work (and look more realistic) :)

I'm a graphic designer by trade - hit me off-list if you want me to
take a look at the photo you're trying to reflect.

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


Re: [Gimp-user] How to update GIMP in Ubuntu?

2008-12-16 Thread Akkana Peck
  How do I upgrade to v 2.6.x of Gimp on Ubuntu?
 
 I don't think you are going to be able to do this.
 
 To do so requires a number of updated libraries, glib,gtk, babl and
 gegl are 4 off the top of my head and I am pretty sure the 8.04
 repositories wont hold these.
 
 You can do it by building your own libraries from the sources, but I
 guess you don't want to do that

I'm building GIMP 2.6 on Ubuntu 8.04 and it's really no big deal.
You don't need the whole gtk+ chain -- the ones installed on 8.04
are fine. You do need babl and gegl and there are a couple minor
gotchas there.

I have the complete list of packages you'll need here:
http://shallowsky.com/linux/gimpbuild.html

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