Re: [Gimp-user] gimp-2.6.4-i686-setup.exe win-gimp
Jim Carlock wrote: > One last thing I'll add to this... > > script-fu.exe - Entry Point Not Found > The procedure entry point g_format_size_for_display could not > be located in the dynamic link library libglib-2.0-0.dll. GIMP 2.6 comes with GTK+/GLib .dlls. If you have .dlls in a system wide directory such as C:\Windows\System32 these will however be picked up first. My guess is that you have GTK+/GLib .dlls in a system wide directory and GIMP does not end up using the GTK+/GLib DLLs it is supposed to. - Martin ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] gimp-2.6.4-i686-setup.exe win-gimp
One last thing I'll add to this... script-fu.exe - Entry Point Not Found The procedure entry point g_format_size_for_display could not be located in the dynamic link library libglib-2.0-0.dll. It appears script-fu.exe makes a function call to the DLL file listed above. Now, when I dump the exports using a Microsoft LINK.EXE app, I notice that I have TWO different libglib-2.0-0.dll files. One of them I find in the Common Files folder with the new install of GTK, however those GTK files were NOT installed. They were just copied from one place to another. And last, the libglib-2.0-0.dll name does NOT exist in the registry. So the script-fu.exe resides in a folder that does NOT have a libglib-2.0-0.dll. And GIMP does not know where to look for this particular file. I would NOT like to put the gimp files in the PATH, so I wonder why GIMP when it first runs knows where it placed itself. But when you restart it it does not know how to obtain the path of the executable. Okay, thinking about this a little more, it's script-fu.exe that knows not where GIMP and the DLLs reside. So looking through the registry, I find some keys that GIMP failed to clean up upon uninstalling... HKEY_CLASSES_ROOT\Applications\gimp-2.6.exe HKEY_CLASSES_ROOT\Applications\gimp-win-remote.exe And so I correct the path inside the first key, and delete the gimp-win-remote.exe key because that no longer exists in the new versions. I probably need to run something to get the system to do a REGISTRY RELOAD. That's not a very proper term, but let me try this and see what occurs. Oh, well... I'll give up on this for the night and hope I'll figure something out tomorrow. -- Jim Carlock ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] gimp-2.6.4-i686-setup.exe win-gimp
"Jim Carlock" wrote... The first time I run GIMP from the install it works great. But then when I close GIMP and the picture I've opened, I end up with the following error message when I double-click upon the image. In previous reinstalls, the error messages get worse as I continue to play along. script-fu.exe - Entry Point Not Found The procedure entry point g_format_size_for_display could not be located in the dynamic link library libglib-2.0-0.dll. Any suggestions would be greatly appreciated. Something seems to go wrong for some reason. I'm not familiar enough GIMP to know what to do, but if anyone needs to know anything about registry keys, or such, I'm happy to look and provide such details and I'm happy to help work through this. I'm willing to learn and help others. Thank you for your time and help. -- Jim Carlock ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] gimp-2.6.4-i686-setup.exe win-gimp
I've run into a few problems with this version of GIMP. I uninstalled all previous versions of GIMP. And I uninstalled gimp-2.6.4-i686-setup.exe. Then I reinstalled gimp-2.6.4-i686-setup.exe and the problems STILL occur. I uninstalled GTK. Went through the whole uninstall/reinstall but the problems still occur. After editing an image, I get a bunch of errors which indicate that there are various missing DLLs/EXEs. I'm getting ready to UNINSTALL gimp-2.6.4-i686-setup.exe again. And then do a REINSTALL. I hope I do not need to send a prayer out to get things working. How come the new version of GIMP is so much smaller than the older versions? gimp-2.6.4-i686-setup.exe 15,892,408 bytes gimp-2.4.6-i686-setup.exe 17,950,304 bytes I downloaded the new version of GTK. Uninstalled the old version. And I'm lost at the moment on how to figure out how to get the new version to work. Is there a GIMP .ini file which tells GIMP where to locate GTK? Thanks for any suggestions. -- Jim Carlock ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] Setting up gimp server for the web
Hi! Here is a list of my thoughts on how to set up gimp to do image manipulation on the web. Could anyone with some experience please comment! 1. We are going to need a server. I guess I start perl-server like this: gimp -i -b '(extension-perl-server 0 0 0)'& 2. Now I write client functions for common tasks and put them into plugins directory. This way, I can just use those plugins from the web client. 3. I configure the web clients to connect to the server (found this at http://lists.xcf.berkeley.edu/lists/gimp-developer/2002-September/007450.htm l): 1.setenv GIMP_HOST passw...@1.2.3.4 on server box A(where the gimp, perl,gtk etc are installed); 2.start gimp perl server on server box A; 3.setenv GIMP_HOST passw...@1.2.3.4 on client box B; 4.start the script on client box B; 4. So... Now I need to connect to the Gimp server and tell it to warp my image, or whatever it is. So I do something like this: use Gimp qw/:auto/; Gimp::on_net(sub {plugin_warp_image( name => 'my-image', shape => 'trapezoid') }; exit main(); 5. OK, so I am in a web application. Exit main() does not sound right... Furthermore, I am going to need to retrieve the image as binary data, ask the server to create a new image, then get it back. What does my client look like? 6. Is there anything else I should be aware of? Thanks so much for the help! I apologize for newbiness, but am hoping that what comes out of this thread might serve the next guy! Cheers, Kate ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Newbie perl-gimp question
Thanks Owen for trying it! I was able to sort of focus and try figuring out what's going on with my system instead of googling madly for "what the hell am I doing wrong with gimp?" :-) I haven't figured out *everything* that was going wrong yet. But I think there were two separate issues: one is, the server never got a chance to initialize its directories, so it couldn't write the output. When I killed the server, the bmp file wrote correctly! And once I added conversion to an indexed format, the gif was created!!! I am so happy, I don't know what to do with myself. Well, there is one thing I can do, I suppose - figure out how to set up the overall environment. I'll post it as a separate question, though. Thanks again! Kate > -Original Message- > From: Owen [mailto:rc...@pcug.org.au] > Sent: Thursday, January 15, 2009 12:22 AM > To: Kate T Yoak > Cc: gimp-user@lists.xcf.berkeley.edu > Subject: Re: [Gimp-user] Newbie perl-gimp question > > > > Hi guys, > > > > I finally got Gimp installed and running for the purpose of > writing a > > web application with image manipulation in perl. > > > > I've been scouring documentation and found a few useful > tutorials. But > > I still don't have a complete picture. > > > > My first script (see below; I am running it from a shell) > dies on save > > (I tried file_gif_save & file_bmp_save. Both fail. What am I doing > > wrong? What's a good place to find a tutorial that's directed > > specifically at stand-alone perl-server applications? > > > > Thanks for the help! > > Kate > > > > > > Here is my sample script: > > > > #!/usr/bin/perl > > use Gimp qw(:auto ); > > use strict; > > > > Gimp::set_trace(TRACE_ALL); > > sub do_stuff{ > >my $size = '100x100'; > >my $color = "#00"; > >my $img = gimp_image_new($size, $size, RGB); > >my $layer = gimp_layer_new($img, $size, $size, RGB, > > "Layer 1", 100, NORMAL_MODE); > >gimp_image_add_layer($img, $layer, -1); > >gimp_palette_set_background($color); > >my $out = 'out.gif'; > > # file_gif_save(RUN_NONINTERACTIVE, $img, $layer, $out, > $out, 0, 0, > > 0, 0); > >file_bmp_save(RUN_NONINTERACTIVE, $img, $layer, $out, $out); } > > > > > > > > Out of curiosity, I ran that and it gave the following output. (I only > added warnings and diagnostics) > > > > > o...@eight-ten:~/Perlscripts$ perl dostuff > gimp_image_new( > INT32 width=100 "The width of the image (1 <= width > <= 262144)" > INT32 height=100"The height of the image (1 <= height > <= 262144)" > INT32 type=0"The type of image { RGB (0), GRAY (1), > INDEXED (2) }" > ) = ( > IMAGE image=1 "The ID of the newly created image" > ) > gimp_layer_new( > IMAGE image=1 "The image to which to add the layer" > INT32 width=100 "The layer width (1 <= width <= 262144)" > INT32 height=100"The layer height (1 <= height <= > 262144)" > INT32 type=0"The layer type { RGB-IMAGE (0), RGBA-IMAGE > (1), GRAY-IMAGE (2), GRAYA-IMAGE (3), INDEXED-IMAGE (4), > INDEXEDA-IMAGE (5) }" > STRING name="Layer 1" "The layer name" > FLOAT opacity=100.00"The layer opacity (0 <= > opacity <= 100)" > INT32 mode=0"The layer combination mode { NORMAL-MODE (0), > DISSOLVE-MODE (1), BEHIND-MODE (2), MULTIPLY-MODE (3), > SCREEN-MODE (4), OVERLAY-MODE (5), DIFFERENCE-MODE (6), > ADDITION-MODE (7), SUBTRACT-MODE (8), DARKEN-ONLY-MODE (9), > LIGHTEN-ONLY-MODE (10), HUE-MODE (11), SATURATION-MODE (12), > COLOR-MODE (13), VALUE-MODE (14), DIVIDE-MODE (15), DODGE-MODE > (16), BURN-MODE (17), HARDLIGHT-MODE (18), SOFTLIGHT-MODE > (19), GRAIN-EXTRACT-MODE (20), GRAIN-MERGE-MODE (21), > COLOR-ERASE-MODE (22), ERASE-MODE (23), REPLACE-MODE (24), > ANTI-ERASE-MODE (25) }" > ) = ( > LAYER layer=2 "The newly created layer" > ) > gimp_image_add_layer( > IMAGE image=1 "The image" > LAYER layer=2 "The layer" > INT32 position=-1 "The layer position" > ) = ( > ) > gimp_palette_set_background( > COLOR background=[1.00,1.00,0.00,1.00] "The > background color" > ) = ( > ) > file_bmp_save( > INT32 run-mode=1"Interactive, non-interactive" > IMAGE image=1 "Input image" > DRAWABLE drawable=2 "Drawable to save" > STRING filename="out.gif" "The name of the file to save > the image in" > STRING raw-filename="out.gif" "The name entered" > ) = ( > ) > > > o...@eight-ten:~/Perlscripts$ ls -l out* > -rw-r--r-- 1 owen owen 30054 2009-01-15 19:15 out.gif > > > > As you see, all went well and out.gif was produced. >
Re: [Gimp-user] Help with script
The comma isn't the problem; there's nothing special about commas in Scheme strings. It's the output function you're using - (write) formats things in Scheme source-code form so they can be (eval)'ed when read back in. To just output some text as text, use (display) instead. For a single comma you could also use (write-char #\,). On 1/15/09, none wrote: > Hi again. I just have one question about the script. Well it's more about > Scheme in general but i couldn't find the answer in any tutorials (i was > probably just looking in the wrong place). Anyway, i want to write a comma > to > the file but (write "," file) writes the comma with the quotes included. And > using a character #\, doesn't work either. Is there a special escape code > for > printing commas or what? > thanks > > -- > none > ___ > Gimp-user mailing list > Gimp-user@lists.XCF.Berkeley.EDU > https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user > -- Sent from Gmail for mobile | mobile.google.com Mark J. Reed ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] Help with script
Hi again. I just have one question about the script. Well it's more about Scheme in general but i couldn't find the answer in any tutorials (i was probably just looking in the wrong place). Anyway, i want to write a comma to the file but (write "," file) writes the comma with the quotes included. And using a character #\, doesn't work either. Is there a special escape code for printing commas or what? thanks -- none ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] Newbie perl-gimp question
> Hi guys, > > I finally got Gimp installed and running for the purpose of writing a > web > application with image manipulation in perl. > > I've been scouring documentation and found a few useful tutorials. But > I > still don't have a complete picture. > > My first script (see below; I am running it from a shell) dies on save > (I > tried file_gif_save & file_bmp_save. Both fail. What am I doing wrong? > What's a good place to find a tutorial that's directed specifically at > stand-alone perl-server applications? > > Thanks for the help! > Kate > > > Here is my sample script: > > #!/usr/bin/perl > use Gimp qw(:auto ); > use strict; > > Gimp::set_trace(TRACE_ALL); > sub do_stuff{ >my $size = '100x100'; >my $color = "#00"; >my $img = gimp_image_new($size, $size, RGB); >my $layer = gimp_layer_new($img, $size, $size, RGB, > "Layer 1", 100, NORMAL_MODE); >gimp_image_add_layer($img, $layer, -1); >gimp_palette_set_background($color); >my $out = 'out.gif'; > # file_gif_save(RUN_NONINTERACTIVE, $img, $layer, $out, $out, 0, 0, > 0, 0); >file_bmp_save(RUN_NONINTERACTIVE, $img, $layer, $out, $out); > } Out of curiosity, I ran that and it gave the following output. (I only added warnings and diagnostics) o...@eight-ten:~/Perlscripts$ perl dostuff gimp_image_new( INT32 width=100 "The width of the image (1 <= width <= 262144)" INT32 height=100"The height of the image (1 <= height <= 262144)" INT32 type=0"The type of image { RGB (0), GRAY (1), INDEXED (2) }" ) = ( IMAGE image=1 "The ID of the newly created image" ) gimp_layer_new( IMAGE image=1 "The image to which to add the layer" INT32 width=100 "The layer width (1 <= width <= 262144)" INT32 height=100"The layer height (1 <= height <= 262144)" INT32 type=0"The layer type { RGB-IMAGE (0), RGBA-IMAGE (1), GRAY-IMAGE (2), GRAYA-IMAGE (3), INDEXED-IMAGE (4), INDEXEDA-IMAGE (5) }" STRING name="Layer 1" "The layer name" FLOAT opacity=100.00"The layer opacity (0 <= opacity <= 100)" INT32 mode=0"The layer combination mode { NORMAL-MODE (0), DISSOLVE-MODE (1), BEHIND-MODE (2), MULTIPLY-MODE (3), SCREEN-MODE (4), OVERLAY-MODE (5), DIFFERENCE-MODE (6), ADDITION-MODE (7), SUBTRACT-MODE (8), DARKEN-ONLY-MODE (9), LIGHTEN-ONLY-MODE (10), HUE-MODE (11), SATURATION-MODE (12), COLOR-MODE (13), VALUE-MODE (14), DIVIDE-MODE (15), DODGE-MODE (16), BURN-MODE (17), HARDLIGHT-MODE (18), SOFTLIGHT-MODE (19), GRAIN-EXTRACT-MODE (20), GRAIN-MERGE-MODE (21), COLOR-ERASE-MODE (22), ERASE-MODE (23), REPLACE-MODE (24), ANTI-ERASE-MODE (25) }" ) = ( LAYER layer=2 "The newly created layer" ) gimp_image_add_layer( IMAGE image=1 "The image" LAYER layer=2 "The layer" INT32 position=-1 "The layer position" ) = ( ) gimp_palette_set_background( COLOR background=[1.00,1.00,0.00,1.00] "The background color" ) = ( ) file_bmp_save( INT32 run-mode=1"Interactive, non-interactive" IMAGE image=1 "Input image" DRAWABLE drawable=2 "Drawable to save" STRING filename="out.gif" "The name of the file to save the image in" STRING raw-filename="out.gif" "The name entered" ) = ( ) o...@eight-ten:~/Perlscripts$ ls -l out* -rw-r--r-- 1 owen owen 30054 2009-01-15 19:15 out.gif As you see, all went well and out.gif was produced. Is your directory for out.gif writable? Owen ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user