Re: [Gimp-user] Help installation, 2.6.1-html-en.tar.bz2

2011-02-08 Thread Sven Neumann
On Mon, 2011-02-07 at 07:20 -0600, Doug Huffman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Where does html/en need to be installed in GIMP file structure, please?

The file you downloaded is not meant to be installed by users. If
possible, please grab an installer for your platform.

If that is not possible (your platform might not have an appropriate
installer released yet), then you can also unpack the tarball that you
downloaded and place the en folder into $prefix/share/gimp/2.0/help
where $prefix would /usr or /usr/local or wherever your GIMP
installation resides.


Sven


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


Re: [Gimp-user] Gimp's rendering speeds

2011-02-03 Thread Sven Neumann
On Wed, 2011-02-02 at 15:32 +0200, Jeremy Nell wrote:

 Speaking of which, I am using an i7 PC with 3 gigs of RAM allocated to 
 Gimp alone, so I'm not sure how to make Gimp's response time any quicker.

What exactly do you mean when you say that you allocated 3 gigs of RAM
to GIMP? Did you increase the tile-cache size in GIMP to 3 GB or do you
just have 3 GB of RAM that GIMP could use if you allowed it to do that
(by increasing the tile-cache size appropriately)?

Just asking to make sure that there isn't a misunderstanding...


Sven


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


Re: [Gimp-user] Gimp remembering settings

2011-01-31 Thread Sven Neumann
On Sun, 2011-01-23 at 14:53 +0200, Jeremy Nell wrote:
 I've got the appropriate boxes checked, yet, for some reason, Gimp seems 
 to remember some of my settings inconsistently.  For example, my save 
 dialogues don't remember how I saved files the last time Gimp was 
 running.  Specifically, saving as TIFF.  I always select LZW 
 compression, yet almost daily (because I use Gimp daily), it defaults to 
 none and includes the comment Created with Gimp after I've removed 
 that comment from the main preferences.

It's a long-standing missing feature, see 
https://bugzilla.gnome.org/show_bug.cgi?id=63610

Please speak up on the gimp-developer mailing-list if you want to work
on this.


Sven


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


Re: [Gimp-user] JPEG Files

2011-01-06 Thread Sven Neumann
On Tue, 2011-01-04 at 11:17 -0800, MM wrote:
 
 I am using the 2.6.11 version
 
 I normally make panoramas with Autopano, and the rendered file is
 often more than 30Mb.
 
 This time it was very close to 49Mb and I am receiving the following
 error message
 
 “Glib-ERROR”:gmem.c137:failed to allocate 1638bytes aborting……..

Looks like there's an integer overflow somewhere. It would help a lot to
get a proper stack trace. But it would already help if you could tell us
how large are these images pixel-wise?


Sven


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


Re: [Gimp-user] No new colours

2010-12-15 Thread Sven Neumann
On Wed, 2010-12-15 at 14:45 +0100, drwr wrote:

 This seems to be the problem.  Gimp will only save as either indexed
 or greyscale.  I can change the mode whenever I need to edit.

It's not GIMP who makes this decision. The file format you have chosen
(GIF) only supports grayscale or up to 256 indexed colors. Unless you
have a very good reason to use GIF, you should consider switching to PNG
instead.


Sven


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


Re: [Gimp-user] Layers with Mask

2010-12-08 Thread Sven Neumann
On Wed, 2010-12-08 at 17:35 +0100, hannes61 wrote:

 at the moment i am testing the version 2.7 and i miss 
 the chance to add a mask to a layer group. 
 
 To compose with layer groups this would be a cool add on. 
 At the moment i use the work around: creating a new layer 
 from the viewed, and add to this a mask. But this is very 
 inconvenient, cause if the result of layer-group changes 
 i have to create a new layer,...
 
 Did i miss something to add a mask to the layer-group?

It's simply not yet implemented.


Sven


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


Re: [Gimp-user] Image Properties dialog in inches?

2010-11-19 Thread Sven Neumann
On Fri, 2010-11-19 at 01:24 +0100, jk78 wrote:
 Using Gimp 2.6.10 (Windows).
 
 So, I have set my image to Inches in the dropdown in the main window,
 and also in the Image -- Print Size menu, but the Image -- Image
 Properties dialog displays the print size in mm.  I find this
 particularly odd since the Resolution _is_ listed in ppi (pixels per
 Inch).
 
 Is there any way to change that?

The dialog uses the default unit for your locale. I have no idea though
how you can change that on Windows. Perhaps it would indeed make more
sense to use the image display unit here.


Sven


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


Re: [Gimp-user] Printing Problem

2010-11-01 Thread Sven Neumann
On Mon, 2010-11-01 at 01:11 +0100, geoffrey wrote:
 I just installed gimp with Ubuntu 10.10. Simple problem. Any way I try
 to print, the printer produces a blank sheet of paper.  HPDeskJetPro
 prints any other program's output. It seems that the package on Ubuntu
 gets the 2,6.10
 with the cairo software that doesn't work. Have I answered my own question?

Indeed. Please file a bug-report at Ubuntu. We explicitly released a
fixed version (2.6.11) before the Ubuntu release. The Ubuntu maintainers
should do their users a favor and update to that release.


Sven


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


Re: [Gimp-user] script-fu-menu-register with space in folder name?

2010-10-25 Thread Sven Neumann
On Sun, 2010-10-24 at 20:24 +, Alan Campbell wrote:
 I'd like to do
 
 (script-fu-menu-register some_func Image/File/Create/Joint 
 Scripts)
 
 but if I try, subfolder Joint Scripts doens;t appear
 
 (script-fu-menu-register some_func 
 Image/File/Create/JointScripts)
 
 works fine.  Any way to get a space in a subfolder name?

Are you sure? I wonder how all the scripts in the Alpha to Logo folder
register themselves then. Perhaps you should register the menu branch
first?

Can you perhaps show us a simple example script to illustrate the
problem?


Sven


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


Re: [Gimp-user] gimp.tutorials.net

2010-10-07 Thread Sven Neumann
On Wed, 2010-10-06 at 10:04 +1000, Bob Long wrote:

 When I visit http://gimpusers.com/gimp/links there is that list you 
 mention. In my case, Gimp-Tutorials.net does indeed go to 
 http://gimp-tutorials.net/
 
 So either that has very recently been fixed, or there is a problem 
 elsewhere.

The link to gimp-tutorials.net was added 2008-11-07 and hasn't been
changed since then.


Sven


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


[Gimp-user] ANNOUNCE: GIMP 2.6.11

2010-10-04 Thread Sven Neumann
Hi,

GIMP 2.6.11 is a bug-fix release in the stable GIMP 2.6 series. Among
other bug-fixes, it restores printing functionality with version 1.10 of
the cairo library. Many Linux distributions start to ship this version
now.

The source code for GIMP 2.6.11 can be downloaded from ftp.gimp.org or
from one of the mirrors listed at http://gimp.org/downloads/#mirrors.
Binary packages for the supported platforms should become available
soon; please check the Downloads section at www.gimp.org.


Overview of Changes from GIMP 2.6.10 to GIMP 2.6.11
===

* Bugs fixed:

 631199 - Printing and Print preview broken with cairo 1.10
 572865 - Parasite handling had problems and can cause crashing
 628893 - Error with string-append and gimp-drawable-get-name
 623850 - (Paco) Recursive Gaussian Filter error
 624487 - Fix incorrect wrap mode documentation values in Edge plug-in
 557380 - Difference of Gaussians gives blank doc if Invert selected
 627009 - Image type filter doesn't include .rgba SGI files
 626020 - Console window opening on file-ps-load
 624698 - Wood 1 and Wood 2 have bad alpha value
 624275 - Image saved from google docs generates a
  'gimp-image-set-resolution' error message

* Updated translations:

 German (de)
 Spanish (es)
 Italian (it)
 Japanese (ja)
 Romanian (ro)
 Chinese (Hong Kong) (zh_HK)
 Chinese (Taiwan) (zh_HK)


Happy GIMPing,
Sven



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


Re: [Gimp-user] script-fu: underscore?; script-fu-register; script-fu-menu-register

2010-10-03 Thread Sven Neumann
On Sun, 2010-10-03 at 12:59 +, Alan Campbell wrote:
 One of uses of an underscore is to pick out the shortcut character in 
 a menu item:
 
 (script-fu-register  wrdhb_create_half_blind_dovetail
   _Half blind dovetail...   ;menu label
   Create Template for Half blind Dovetail 
 
 )
 
 There also appears to be
 
 (script-fu-register  wrdhb_create_half_blind_dovetail
   _Half blind dovetail...   ;menu label
 ...
 )
 
 whch I gather has something to do with translation: I assume it would 
 have no effect in this particular case because it's sadly 
 unreasonable to expect translation dictionaries (po files??) to know 
 blind or dovetail.  That so?

If you want your scripts to be translated, then you need to put your
scripts into a separate translation domain and ship the translations
with them. You can of course not expect the strings from your scripts to
be part of the standard script-fu translation domain.


 Also, I've been using this style of getting a script registered for 
 use in create menu:
 
 (script-fu-menu-register wrdhb_create_template_half_blind_dovetail 
 Image/File/Create/Woodrat)
 
 (a)  Can I combine the two, putting path in second parameter of 
 script-fu-register?

Using a path in the script-fu-register call is deprecated. Please use
script-fu-menu-register.

 (b) Is there anyway of getting a letter of the submenu Woodrat to 
 be a shortcut key?  I've tried variations of underscore in the 
 Image/File/Create/Woodrat parameter, doesn't work.

You need to explicitly create the submenu using
gimp-plugin-menu-branch-register. This procedure should accept mnemonics
marked with an underscore.


Sven


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


Re: [Gimp-user] script-fu: underscore?; script-fu-register; script-fu-menu-register

2010-10-03 Thread Sven Neumann
On Sun, 2010-10-03 at 13:42 +, Alan Campbell wrote:

  You need to explicitly create the submenu using
  gimp-plugin-menu-branch-register. This procedure should accept
  mnemonics marked with an underscore.
  
 
 Tried
 (gimp-plugin-menu-branch-register Image/File/Create W_oodrat)
 (gimp-plugin-menu-branch-register Image/File/Create _Woodrat) 
 
 followed by 
 
 (script-fu-menu-register wrdhb_create_half_blind_dovetail
   Image/File/Create/W_oodrat)
 
 or
 script-fu-menu-
 (script-fu-menu-register wrdhb_create_half_blind_dovetail
   Image/File/Create/_Woodrat)
 
 or
 
 (script-fu-menu-register wrdhb_create_half_blind_dovetail
   Image/File/Create/Woodrat)
 
 
 Always got the Woodrat folder under File | Create menu, no shortcut 
 key indicated.

I am pretty sure that it theoretically should work this way. After all
the Script-Fu extension itself creates sub-menus this way and those
sub-menus do have mnemonics. You definitely should not use the
underscore in the menu-register call.

However the problem is most likely that Script-Fu doesn't provide you
any means to call this procedure before the menu-register call is
executed. There would probably have to be a
script-fu-menu-branch-register() wrapper added for this purpose.

A possible solution would be to write your scripts in Python.


Sven


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


Re: [Gimp-user] how do I find the pathname of a selected font?

2010-10-01 Thread Sven Neumann
On Fri, 2010-10-01 at 09:13 +0200, bobdobbs wrote:

 I've got lots of fonts in quiet a few directories.
 
 I'm using a particular font in an image I'm editing. I want to
 discover the pathname of this font.
 
 It looks like the name of the font that gimp displays in the font text
 settings pane doesn't corrospond to the filename of the actual font,
 so the solution isn't as simple as navigating to my main font
 directory and grepping for it.
 
 Can gimp give me enough information on the font to allow me to find
 it?

No, but the tools that come with fontconfig can. There's the fc-list
command-line utility that can list all available fonts with their
filenames. Try fc-list : family style file. For details see the
fc-list manual page.


Sven


___
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's Clipboard Brush - disable possible?

2010-09-22 Thread Sven Neumann
On Wed, 2010-09-22 at 09:43 -0400, SilversleevesX wrote:

 I wanted to know if it were possible to disable the Clipboard Brush 
 feature in GIMP 2.6?

Why exactly do you want to turn it off? If you don't need it, then don't
use it. What's the point of adding yet another option?


Sven


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


Re: [Gimp-user] batch script help

2010-09-14 Thread Sven Neumann
On Mon, 2010-09-13 at 08:47 -0700, jeremy jozwik wrote:
 hello list, just added my self so i hope this is an active list.
 
 im am attempting to batch compress OSM tile images. they are of png
 format, otherwise i would have used cjpeg.
 anyhow the script need only open the images in a folder and save them
 out with a different compression level [9]
 
 after reading the [1] batch mode page i have assembled this format:
  (define (png-compress filename
   compression)
   (let* ((filelist (cadr (file-glob pattern 1
 (while (not (null? filelist))
(let* ((filename (car filelist))
   (image (car (gimp-file-load RUN-NONINTERACTIVE
   filename filename)))
  (gimp-file-png-save RUN-NONINTERACTIVE image drawable
 filename filename))
  (gimp-image-delete image))
(set! filelist (cdr filelist)

You never assign the drawable variable. Try to use
 (drawable (car (gimp-image-get-active-drawable image)))

Not sure if that's the only problem though.


Sven




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


Re: [Gimp-user] script-fu: saving dialog choices

2010-09-11 Thread Sven Neumann
On Sat, 2010-09-11 at 16:53 +, Alan Campbell wrote:
 On 10 Sep 2010 at 9:35, Rob Antonishen wrote:
  
  https://bugzilla.gnome.org/show_bug.cgi?id=572865
 
 Thanks, got that working.
 
  Instead of parasites consider using gimp_gimprc_set() and
  gimp_gimprc_query() which don't seem to have this issue.
 
  In Script-fu console 
 
   (gimp_gimprc_set xxx ) on my win 2.6.10 installation gives
 
   Error: eval: unbound variable: gimp_gimprc_set 
 
 Did I miss something?

In Script-Fu it's gimp-gimprc-set.

That's really an abuse of the gimprc though. It would be much better to
get the parasites problem fixed.


Sven


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


Re: [Gimp-user] Removing broken scripts.

2010-09-10 Thread Sven Neumann
On Thu, 2010-09-09 at 18:02 +0200, Cecil C. wrote:
 I use Gimp under Ubuntu 10.04.  My question is fairly simple.  I have been
 using Gimp since 2.0, and have copied scripts over from release to release. 
 Usually, some of the copied scripts are broken when a new release is
 available, such as from 2.4 to 2.6.  To date, I have not made the effort to
 remove the broken scripts.
 
 When a script is broken, I find out by running the script and getting an error
 message, such as Error: set!: unbound variable: screen-layer.  I know how I
 invoked the script from the menu, so I can edit all the scripts in my
 directory to see where they put the script in the menu structure and the name
 they used.  Often, I can narrow the number of scripts I have to edit to find
 the correct one by using the script name as a starting point.  However, there
 are a significant number of scripts that have a different file name than that
 used in the menu.  Needless to say, this is a tedious and slow process.
 
 Is there an easier way to identify a broken script file other than the process
 I have outlined above?

Probably the easiest way to find a script that contains a certain string
(as found in the error-message) is to use the grep utility. Try 'man
grep'.


Sven


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


Re: [Gimp-user] How to edit text in both Gimp Photoshop

2010-09-08 Thread Sven Neumann
On Tue, 2010-09-07 at 18:21 -0700, Nikolas Konvalin wrote:
 Hey guys I am looking at making graphics for graphic river and they only 
 accept .psd files.
 So is there a way to to make a .psd file in gimp and be able to edit the 
 text layers in photoshop.

You can't currently do that. GIMP now provides the API that the PSD
plug-in would need to implement this. So we would be very happy if
someone picked up work on the PSD plug-in and implemented support for
saving GIMP text layers as PS text layers and for loading text layers
from PSD files so that they become editable text layers in GIMP.

If someone's interested to work on this, please speak up on the
gimp-developer mailing-list.


Sven


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


Re: [Gimp-user] Suppressing the press any character to close this window message in Script-Fu

2010-08-02 Thread Sven Neumann
On Sun, 2010-08-01 at 01:48 -0700, Dillon wrote:
 Hi all,
 
 
 I've written a series of scripts to automate GIMP's script-fu batch
 processor.  Right now I'm working on starting up multiple asynchronous
 GIMP processes.  
 
 
 The problem I'm having right now is with the interactive press any
 character to close this window message that appears when GIMP
 finishes processing a piece of Script-Fu.

You get this message because you are running the copy of GIMP that was
compiled as an interactive application with UI. If you don't want any
UI, then don't start the gimp binary, but use the gimp-console binary
instead.


Sven



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


Re: [Gimp-user] PDF editing in Gimp

2010-07-31 Thread Sven Neumann
On Thu, 2010-07-29 at 17:39 +, Alek wrote:

 Text layers?  How to I create them?
 
 I just enter text in the pertinent areas of the form.  
 
 I don't see any text layers.

If you entered text using the GIMP text tool, then you added text
layers. And if you saved this file as XCF, then these text layers would
still be editable using the text tool.


Sven


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


Re: [Gimp-user] GIMP

2010-07-20 Thread Sven Neumann
On Mon, 2010-07-19 at 14:20 +0200, Andre Anckaert wrote:

 But nevertheless, I meanwhile found out that I have (a lot of)
 personal GIMP-files, and where they are:
 
 http://fotoalbum.seniorennet.be/incl/getimage2.php?imageid=1607079albumid=18832typeid=4
  
 
 This fortunate discovery, I hope, will help me a lot to better
 understand GIMP. Below is a line actually copied from my own
 gimprc-file:
 
  (help-locales en)

Ok, that explains a lot. You changed your settings so that the English
Help is always taken, no matter what your locale is. It would be best to
change this back to the default. To do that, just remove that line.


Sven


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


Re: [Gimp-user] GIMP

2010-07-19 Thread Sven Neumann
On Sat, 2010-07-17 at 18:51 +0200, Andre Anckaert wrote:
 I tried out my clever (!) idea to change the name of the Windows-folder:
 
 C:\Program Files\GIMP-2.0\share\gimp\2.0\help\nl
 
 in which the Help-installer had put the Dutch Help-version from nl to en. 
 And tweaked nothing else than the Preferences - Help panel:
 
 http://fotoalbum.seniorennet.be/incl/getimage2.php?imageid=1603575albumid=18832typeid=4
  
 
 Now the Help-buttons and F1 produce no longer an error. They start a 
 browser-window and display there the Help, in the mixed English/Dutch version 
 it is actually in, that is more or less relevant for the context in which he 
 HELP-button or F1-key was used. Sometimes it seems to be necessary to center 
 the focus on a specific detail.

Now it would be good to find out why this was necessary at all. Could
you start GIMP from a terminal with the GIMP_DEBUG environment variable
set to the value help and send us the output you get when you press
the F1 key?


Sven


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


Re: [Gimp-user] GIMP

2010-07-15 Thread Sven Neumann
On Thu, 2010-07-15 at 15:28 +0200, Andre Anckaert wrote:

 Or otherwise, in order to keep as much as possible of the Dutch
 translation, I might perhaps better just change the name of the
 existing directory/folder to en instead of nl ?? Would that be
 enough to lure GIMP into giving its help??

I am not quite sure if I understand what you are reporting here. You
installed the Dutch help package, but it installed itself in a folder
named en ??

Please note that you should always install the English manual _and_ the
localized version. That ensures that the help-browser can use the
English manual as a fallback. You could also install other languages as
fallback and use the help-locales gimprc variable to tweak the order
of locales that the help browser tries to use.


Sven


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


Re: [Gimp-user] Biggest Frustration

2010-06-22 Thread Sven Neumann
On Tue, 2010-06-22 at 17:55 +0200, yahvuu wrote:
 On 22.06.2010 00:30, Alexandre Prokoudine wrote:
  Well, it looks like slightly improved existing Move tool to me :)
 
 Actually, i was thinking of a pure object selection tool without any
 manipulation functionality. Just to choose the current paint context
 without obscuring it, and without having to resort to the layers dialog.
 Somewhat paradoxically, this would be my favourite tool for color adjustments.

And why does the Move tool not work for you then? It allows you to
select a layer simply by clicking into the image. Perhaps you missed the
Set layer or path as active option in the Preferences dialog?


Sven


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


Re: [Gimp-user] Help recovering a bad .xcf file

2010-06-21 Thread Sven Neumann
On Sun, 2010-06-20 at 22:17 +0200, Branko Vukelic wrote:

 As for myself, I've got 2G RAM, and 1G swap space (big mistake, I
 know) on a 64-bit linux. I sometimes run out оf memory/swap on a image
 that is like a little smaller than 3000x3000 when I have more than 20
 layers and couple of hours of work on it. Tile cache is at 1024M.

Why would you limit your tile-cache size to 1GB if you have 2GB of RAM?
You might want to read http://www.gimp.org/unix/howtos/tile_cache.html


Sven


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


Re: [Gimp-user] Help recovering a bad .xcf file

2010-06-21 Thread Sven Neumann
On Sun, 2010-06-20 at 22:12 +0200, Branko Vukelic wrote:
 On Sun, Jun 20, 2010 at 6:45 PM, Sven Neumann s...@gimp.org wrote:
  It is actually a very difficult fix. There are hundreds of save plug-ins
  and all would have to be fixed. Also GIMP plug-ins may save using a
  helper plug-in that transparently enables saving to remote locations. It
  is definitely not trivial to fix this.
 
 If this kind of thing cannot be implemented for all formats, then I
 guess it is a design flaw. How come things like saving a backup copy
 of the target cannot be implemented in a single place for all file
 formats? That simply stinks of bad design, sorry. Now, I'll just STFU
 since I'm not the one to contribute the patch, and hopefully this has
 been already fixed in the devel branch (I remember reading something
 about this).

Yes, it is a very terrible design and it dates back to the last
millenium. But fixing such design flaws in a backward-compatible manner
is rather difficult. Doing this correctly is on the list of things to
fix if we should ever revamp the file plug-in API.

For now we can probably fix it easily for XCF files and with some more
effort some of the most often used file plug-ins.


Sven


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


Re: [Gimp-user] Help recovering a bad .xcf file

2010-06-20 Thread Sven Neumann
On Sun, 2010-06-20 at 03:29 +0200, Branko Vukelic wrote:
 On Sat, Jun 19, 2010 at 10:44 PM, Sven Neumann s...@gimp.org wrote:
  Hi,
 
  Also I was really surprised that an auto backup isn't in GIMP already. I 
  used
  to use a really old, backwoods photo editor and it automatically made a 
  backup
  file and autosaved it every ten minutes.
 
  What you really need for your case is not an auto-backup feature, but
  atomic save operations. Instead of writing over the existing file when
  you save, GIMP should write to a temporary file in the target directory.
  And only if it succeeds in writing this file completely should it move
  the temporary file over the existing file. That way you wouldn't have
  lost your file completely.
 
  Please feel free to open a bug report for this.
 
 Better way would be to do what most text editors do. Create a backup
 of the old file (remember those files that end with a tilde '~'?)
 before overwriting it with the new save. It should be a trivial fix.

It is actually a very difficult fix. There are hundreds of save plug-ins
and all would have to be fixed. Also GIMP plug-ins may save using a
helper plug-in that transparently enables saving to remote locations. It
is definitely not trivial to fix this.


Sven


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


Re: [Gimp-user] Help recovering a bad .xcf file

2010-06-20 Thread Sven Neumann
On Sun, 2010-06-20 at 03:26 +0200, Branko Vukelic wrote:
 On Sat, Jun 19, 2010 at 8:52 PM, Jade for...@gimpusers.com wrote:
  I'm running the latest Ubuntu and it's probably more of a hardware issue 
  than
  a software. When I say Gimp crashed, I mean that it froze up and then
  exited. I don't know what happened besides that. I have a super old computer
  with three quarters of a gig of ram and it probably was having a hard time
  processing such a big image and shut it down. I don't really know. I was
  working with a 3000 x 3000 image with several layers; it was probably too 
  much
  for the PC to handle, not Gimp. The file's gone, either way. :(
 
 Ooh, that _is_ a big image. What you can do is repartition the hard
 drive to give Linux more swap space. It probably ate up all the swap
 space and killed itself. Even with the large swap space (say 4 or even
 8 G) it will be super-slow (RAM is always faster, obviously), but at
 least it won't die easily.

3000x3000 is not that large. How much RAM do you have and how is the
tile-cache size configured in GIMP?


Sven


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


Re: [Gimp-user] Help recovering a bad .xcf file

2010-06-19 Thread Sven Neumann
Hi,

 Also I was really surprised that an auto backup isn't in GIMP already. I used
 to use a really old, backwoods photo editor and it automatically made a backup
 file and autosaved it every ten minutes. 

What you really need for your case is not an auto-backup feature, but
atomic save operations. Instead of writing over the existing file when
you save, GIMP should write to a temporary file in the target directory.
And only if it succeeds in writing this file completely should it move
the temporary file over the existing file. That way you wouldn't have
lost your file completely.

Please feel free to open a bug report for this.


Sven


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


Re: [Gimp-user] script: round-corners

2010-06-15 Thread Sven Neumann
On Mon, 2010-06-14 at 20:04 -0400, John Dey wrote:

 Thanks for the response.  I had added the flatten command today but
 the script still has an execution error.  Here is what I have tried:
 
 (define (round-corners filein fileout)
 (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE filein filein)))
(drawable (car (gimp-image-get-active-layer image
  (set! drawable (gimp-image-flatten image))
  (script-fu-round-corners RUN-NONINTERACTIVE
  image drawable 15 TRUE 8 8 15 TRUE FALSE)
  (gimp-file-save RUN-NONINTERACTIVE image drawable fileout fileout)
  (gimp-image-delete image)))

You need to flatten the image after you've run the round-corners script
of course.


Sven


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


Re: [Gimp-user] script: round-corners

2010-06-14 Thread Sven Neumann
On Mon, 2010-06-14 at 10:57 -0400, John Dey wrote:

 ro...@robo4:~/Desktop$ gimp -i -b '(round-corners test.JPG test2.JPG)' -b 
 '(gimp-quit 0)'
 batch command executed successfully
 
 Comment:
 
 test2.JPG is created but the corners are not rounded and there is no drop 
 shadow!
 
 (define (round-corners in-filename out-filename)
 (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE in-filename 
   in-filename)))
(drawable (car (gimp-image-get-active-layer image
   (script-fu-round-corners image drawable 15 TRUE 8 8 15 TRUE FALSE)
   (gimp-file-save RUN-NONINTERACTIVE image drawable out-filename 
 out-filename)
   (gimp-image-delete image)))

You need to add a call to gimp-image-flatten to your script and make
sure that you save the drawable that is created by this call.


Sven


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


Re: [Gimp-user] The best way to make a rounded corner box with a border

2010-06-02 Thread Sven Neumann
On Wed, 2010-06-02 at 11:22 -0400, Rob Antonishen wrote:
  Sure, I'm just saying I can't use GIMP's gradients. I have to use the
  ones in Inkscape. :)
 
 
 BTW- Inkscape can use gimp gradients (they are the same format).

Are they?

It also works the other way around: GIMP can use SVG gradients.


Sven


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


Re: [Gimp-user] Fw: Re: toolbox

2010-05-02 Thread Sven Neumann
On Fri, 2010-04-30 at 15:58 +0300, Dotan Cohen wrote:
 On 29 April 2010 09:12, Martin Nordholts ense...@gmail.com wrote:
  On 04/29/2010 04:00 AM, Steve VanSlyck wrote:
  Is there no way to dock these darn things onto the main drawing window?
  (When I minimize an app I want the whole think gone, not just the
  subwindow I'm working on.
 
  Not in 2.6, but in 2.8 there will be a single-window mode.
 
 
 Is this available in the 2.7.0 development snapshot?

No, this is not available in any released snapshot. Not even the code in
git is in a state ready for general consumption yet.


Sven


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


Re: [Gimp-user] how to set defaults for printing and so on

2010-04-28 Thread Sven Neumann
On Tue, 2010-04-27 at 13:59 +0200, Maggy R. wrote:
 When I take a screenshot, crop it in the Gimp, send it to my printer, I first
 have to select page layout orientationportrait, paper source  cassette,
 then I have to go to print, select my default printer from a list, go to
 printer preferences, select cassette as paper source once again, select
 portrait printing once again, go back to the Gimp print menu, go to the second
 tab, lower the DPI settings to fit the image to the paper size, or else I get
 the screen shot by default as a 300dpi stamp size in the top left corner of
 the paper. Or I get an error message telling me that there is no paper in the
 rear tray (it's always empty).
 And all these actions time and time again, each time that I want to print a
 screen shot. Unless there is a decent way to set such things as defaults, I'm
 sorry to say that I find this a very clumsy time consumig way of printing.
 There are many other things for which I would like to set defaults in the Gimp
 but I've not yet been able to find where.

The settings you choose will be used as default settings the next time
you print. If that doesn't work, then there's a bug somewhere or it is
due to the fact that you are using the portable version for Windows.
Most likely it simply can't write the settings.

Printer settings are stored in ~/.gimp-2.6/print-page-setup and
~/.gimp-2.6/print-settings.


Sven


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


Re: [Gimp-user] Open a file r/o

2010-03-25 Thread Sven Neumann
On Thu, 2010-03-25 at 08:19 +0200, Cristian Secară wrote:

 (opening images by drag and drop is always an easier method for me
 than to browse for a file via the open dialog each time I want to open
 something; unfortunately the save by drag and drop is not possible :)

It is possible. You can save an image by dragging the image from the
image preview in the toolbox or from the image previews in the Quit
dialog (there might be more places, I am not sure...) to a file-manager
or desktop that is XDS-aware. Works nicely for me on GNOME 2.28.

http://freedesktop.org/wiki/Specifications/XDS


Sven


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


Re: [Gimp-user] Open a file r/o

2010-03-25 Thread Sven Neumann
Hi,

On Thu, 2010-03-25 at 16:57 -0400, Jay Smith wrote:

 However, Gimp 2.6.6 on Ubuntu 2.04 refuses to create files using the
 same methods that every other *nix programs use.

This can hardly be true in the general sense that you are putting it.
Files are created by GIMP plug-ins and how the files are created depends
on the implementation of the plug-in. For many formats the actual
creation of the file is performed by a library that deals with this
particular format. So can you point out the particular file formats that
are problematic for you?


Sven


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


Re: [Gimp-user] Open a file r/o

2010-03-25 Thread Sven Neumann
Hi,

On Thu, 2010-03-25 at 16:57 -0400, Jay Smith wrote:

 On *nix Create-file perms should be set by the creating program based on
 umask / directory perms.
 
 If the perms of the directory /somedir/images look like  drwsrws---
  user me
  group mygroup
 
 then if files are created BY A MEMBER of the group mygroup,
 files created in /somedir/images should look likerw-rw
 
 (actually on my system they end up rw-rw-r-- for some reason).

You obviously did not quite understand how file permissions actually
work. The setgid bit which is set on your example directory says that
new files and subdirectories created within it should inherit the
groupID, rather than the primary groupID of the user who created the
file. It doesn't say anything about the permission bits of files created
in that directory. The permissions are determined by the mode that is
used with the call to open(2) modified by the process's umask.

The typical default value for the process umask is S_IWGRP | S_IWOTH
(octal 022). In the usual case where the mode argument to open(2) is
specified as:

  S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH

(octal 0666) when creating a new file, the permissions on the resulting
file will be:

  S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH

(because 0666  ~022 = 0644; i.e., rw-r--r--).

Whether the directory has the setgrp bit set or not does not have an
effect on the permissions of the resulting file. It only affects the
groupID of the resulting file.

So please stop spreading misinformation like this. You claimed that the
described behavior was confirmed a bug. I doubt that it was confirmed by
someone who actually knew what he/she was talking about. 


Sven


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


Re: [Gimp-user] Open a file r/o

2010-03-24 Thread Sven Neumann
On Wed, 2010-03-24 at 23:03 +0100, Lennart Svensson wrote:
 
 Sven Neumann wrote, On 2010-03-23 21:38:
  On Tue, 2010-03-23 at 14:19 +0100, Lennart Svensson wrote:
  When you start gimp from the promptline you got the Application Options:
  -a, --as-newOpen images as new
 
  Why is this not available (as a button) when you open a file inside gimp ?
  
  It is considered useful for applications that want to send images to
  GIMP by means of opening them from a temporary location. We haven't seen
  any potential use for it in the user interface so far.
  
  
  Sven
  
  
  
 
 This button should inhibit the possibility to save the file during editing and
 destroy the original file. Same as the command line option -a.

You can already do that using Save As I see the point of your
request of being able to do that decision when opening the file. But
adding yet another way of opening a file would also add complexity to
the user interface. Not sure if that's worth it.


Sven


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


Re: [Gimp-user] Open a file r/o

2010-03-23 Thread Sven Neumann
On Tue, 2010-03-23 at 14:19 +0100, Lennart Svensson wrote:
 When you start gimp from the promptline you got the Application Options:
 -a, --as-newOpen images as new
 
 Why is this not available (as a button) when you open a file inside gimp ?

It is considered useful for applications that want to send images to
GIMP by means of opening them from a temporary location. We haven't seen
any potential use for it in the user interface so far.


Sven


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


Re: [Gimp-user] giimp printing incorrectly

2010-03-22 Thread Sven Neumann
On Mon, 2010-03-22 at 12:39 -0400, Helen wrote:

 I've been without a printer for some time, and I finally bought on
 Saturday.
 HP Officejet 7000 wide format.
 Gimp will print fine on regular letter-size paper, but when I try to
 print 
 a 9 x 12 photo on 11x17 paper, it prints only a part of the picture,
 leaving half the page blank.  I've set all the page setup features
 that
 I can find which might be relevant.  Set to centered.
 But it keeps putting out these expensive sheets of photopaper with
 the photo only half there, printing only on one (leading edge) of the
 paper.
 The print preview feature doesn't work.  When I click Print Preview,
 it flashes quickly, less than a second.
 Using gimp 2.6.2 on Suse 11.1

You could start by using an updated version. Not sure if there are any
relevant fixes, but 2.6.2 is really very very outdated. Try to get your
hands on 2.6.8 and a recent version of GTK+.


Sven


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


Re: [Gimp-user] Installing gegl for gimp-2.7

2010-03-18 Thread Sven Neumann
On Thu, 2010-03-18 at 10:31 +0100, Dan O. wrote:

 Did you manage to get it to execute?
 
 I ran into the same problem, downloaded the bz2 file of 0.1 gegl (feb 2010),
 and it seemed to resolve the compilation issue as well.
 
 However, gimp fails to execute, citing the same problem with avcodec.
 
 #
 ** Message: Module '/opt/gimp-2.7/lib/gegl-0.1/ff-load.so' load error:
 /opt/gimp-2.7/lib/gegl-0.1/ff-load.so: undefined symbol:
 avcodec_decode_video2
 #

Why would that keep GIMP from running? It's just one of the many GEGL
operations that doesn't link. That should not be a show-stopper. In any
case you can safely remove the ff-load.so file without loosing any
functionality in GIMP.


Sven


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


Re: [Gimp-user] Installing gegl for gimp-2.7

2010-03-15 Thread Sven Neumann
On Sun, 2010-03-14 at 14:55 +0100, jhardlin wrote:
 Finally, I installed babl and gegl-0.1.2 from their bz2 tarball found at
 http://ftp.gnome.org/pub/gimp/, with success.
 The link in the INSTALL file of the gimp directory is obsolete and
 misleading.

It isn't obsolete or misleading. The gegl.org web-site is just
temporarily down.


Sven


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


Re: [Gimp-user] Edit Zoom ratios?

2010-03-15 Thread Sven Neumann
On Sun, 2010-03-14 at 15:28 +0100, Mark wrote:
 I do a lot of picture rendering and find myself zooming images to ratios of
 3:1 and 6:1 (300% and 600%, respectively) for a majority of jobs. Can these be
 added to the popup menu at the bottom of the window instead of having to
 manually enter these values each time via View  Zoom  Other?

You can enter the value directly in the entry at the bottom of the image
window. And if you do that once, it will add itself to the popup of that
image window.


Sven


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


Re: [Gimp-user] Installing gegl for gimp-2.7

2010-03-14 Thread Sven Neumann
On Sat, 2010-03-13 at 20:24 +0100, jhardlin wrote:

 I am trying to install gimp-2.7 after cloning the git repository. For
 that, I must install gegl and babl 0.1.2.
 
 I can't reach http://gegl .org that seems broken. So, I cloned the gegl
 git repository:
 ./autogen.sh: no problem
 make : I get this error (translated)
 
 make[3]: quitting « /home/xxx/gegl/docs/gallery » directory
 make[3]: going into « /home/xxx/gegl/docs » directory
 make[3]: *** No rule to make « gegl.devhelp » target, necessary for «
 all-am ». Stop.
 
 How can I resolve this error?

Try to pass --disable-docs to 'autogen.sh' and run make again.


Sven


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


Re: [Gimp-user] ?? Status of remembering Layers setting for Canvas Resizing -- in most recent version

2010-03-11 Thread Sven Neumann
Hi,

On Thu, 2010-03-11 at 23:50 +0100, yahvuu wrote:

 For the New Layer dialog, i'd prefer:
 
 c) Always create a transparent layer, without showing a dialog. Then let the
user fill the new layer if desired (not considering layer size here).

Well, layer size is the problem here. It is rather inconvenient to
resize layers, so it is somewhat important for many work-flows to have a
way to specify the size when the layer is created.
 
This works nicely for a keyboard workflow: CTRL-SHIFT-N, CTRL-.
Fast, no confirmation required and no application state has to be 
 remembered.
An open question is how to make this fast for a mouse only / tablet user.

Easy enough, a mouse user can drag the foreground or background color
from the bottom of the Toolbox or from the Colors dockable and drop it
either on the image window or on the newly created layer in the Layers
dialog.


Sven


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


Re: [Gimp-user] ?? Status of remembering Layers setting for Canvas Resizing -- in most recent version

2010-03-10 Thread Sven Neumann
On Tue, 2010-03-09 at 21:18 -0500, Frank Gore wrote:
 On Tue, Mar 9, 2010 at 9:12 PM, David Gowers 00a...@gmail.com wrote:
  +1 on this; It jars me momentarily every time I open this dialog and
  the setting is stuck to None instead of what I last selected.
 
 What's unfortunate is that most of the tools in the toolbox have the
 ability to have their default settings changed, but many of the
 dialogs do not. It would be nice if the Save tool options on exit
 feature from the preferences could be expanded to the dialogs too. But
 where does it stop? I often wish my filters remembered their settings,
 but I'm pretty sure that's beyond the control of the developers.

Not really. It's on the TODO for quite a while already. But it's quite a
big task and it might take years before it gets enough priority that
someone actually sits down and attacks it. Of course if it bothers you
so much, you might want to be the one who fixes it...


Sven


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


Re: [Gimp-user] Can the Curves dialog be reversed?

2010-03-09 Thread Sven Neumann
On Tue, 2010-03-09 at 14:49 -0500, Jay Smith wrote:
 The Color  Curves dialog has the black in the lower left corner and the
 white in the upper right corner.  This is the opposite of another
 program that I also have to use.  Is there a way to reverse this default?

GIMP is Free Software. You are given the source code and the right to
modify it according to your needs.


Sven


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


Re: [Gimp-user] Moving images from point a to b animated

2010-02-22 Thread Sven Neumann
On Mon, 2010-02-22 at 23:56 +0100, Scott wrote:
 Hi all and thanks for oall the comments. I finally figured out how to install
 the gap into my gimp. Now that I look at the settings I am more confused as
 ever. Can someone help me get started on this.

Have you had a look at the introductory GAP tutorial at the gimp.org
web-site?

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


Sven


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


Re: [Gimp-user] What is the best way to fade an edge

2010-02-20 Thread Sven Neumann
On Sat, 2010-02-20 at 19:55 +0100, Scott wrote:
 Hi all I was wondering what would be the best way to fade the edge of a pic so
 that it fades into nothing.

Have you had a look at 
http://www.gimp.org/tutorials/Quickmask/ ?


Sven


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


Re: [Gimp-user] how to select copy a circular part of photo

2010-02-10 Thread Sven Neumann
On Wed, 2010-02-10 at 21:25 +0100, Donna B. wrote:
 I need help with a newbie question (ver 2.6). I need to select a circular part
 of a photo - the goal is to create a web page with circular photos arranged in
 a circle. The only way I've found is to draw a circular selection, display the
 QuickMask to show the outline of the circle and use the bezier tool to click
 around the circle then select to Path and copy that to a new file. There must
 be a better way; can anyone describe it?

Just omit all the steps between draw a circular selection and copy
that to a new file.


Sven


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


Re: [Gimp-user] whan means tube button ?

2010-02-03 Thread Sven Neumann
On Wed, 2010-02-03 at 13:06 +0100, yahvuu wrote:

  If so, then it would be better to remove the particular reference to
  gimp.org from that tooltips ?
 
 the old homepage survived on
 http://classic.gimp.org
 
 I think it's best to just change the reference to that address.
 (unless someone dares to remove these scripts from core GIMP)

I think we should drop distribution of these scripts.


Sven


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


Re: [Gimp-user] how to invert greyscale values only... leaving colors alone

2010-02-02 Thread Sven Neumann
On Mon, 2010-02-01 at 15:27 -0800, Rich Evans wrote:
 Hello, Is this the right place to ask a question about special filters in 
 GIMP? If so, I'd love some advice on the following task:
 
 I have an RGB image that is basically a black background with many
 colorful objects and white text.  --- I'd like to invert the image so
 that it is a white background with black text but a simple invert
 inverts the colors in all the colored objects as well. Is there a
 technique or tool to invert any part of the image that is only a shade
 of grey? i.e. invert pixeils with a saturation of ~0 (if that is how
 you say it). I could imagine a filter that does a simple RGB invert
 for any pixel whose calculated RGB saturation value is below a set
 threshold. Does this type of tool/script exist?

Simple. First create a duplicate of your layer. Then invert the colors
on the lower layer and set the layer mode of the upper (unchanged) layer
to Colors.


Sven


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


Re: [Gimp-user] problem with genius 8x6 tablet and gimp

2010-02-02 Thread Sven Neumann
On Tue, 2010-02-02 at 14:02 +0100, Ohad N. wrote:

 I've just replaced my old AceCad tablet with Genius 8x6 tablet.
 
 it works fine in ALL programs I checked except for GIMP . :(
 
 The problem is that the x-axis doens't react as it should. for example - if I
 user a brush tool - I get two cursors - one with a brush where the pen is and
 another where it actualy draws. 
 I've googled for a few hours with no aparent solution. 
 
 I'm using gimp 2.6.8 on windows XP home edition.
 To my best knowledge, the tablet driver is the latest and it seems to work
 fine. I also get preasure recognition both in gimp and in the tablet utility.
 
 Do you know of any solution about this frustrating situation ?

Grab the source code (of GTK+) and add support for your tablet to it.
Then send a patch to the GTK+ developers. You can also try to ask the
tablet vendor to add proper support for their tablet to GTK+.


Sven


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


Re: [Gimp-user] problem with genius 8x6 tablet and gimp

2010-02-02 Thread Sven Neumann
On Tue, 2010-02-02 at 17:50 +0300, Alexandre Prokoudine wrote:
 On Tue, Feb 2, 2010 at 5:28 PM, Sven Neumann wrote:
 
  Grab the source code (of GTK+) and add support for your tablet to it.
  Then send a patch to the GTK+ developers. You can also try to ask the
  tablet vendor to add proper support for their tablet to GTK+.
 
 Funnily enough the tablet is reported to work with GIMP just fine on Linux.

That is not too surprising. The Windows port of GTK+ does not get as
much contributions as the X11/Linux backend. There are probably a lot
more GIMP users on Windows than there are on Linux, but still there are
almost no code contributions for the Windows specific parts of the code.
It's the same for scanners and printing. Windows is a second-class
citizen, simply because there is almost no contributions from Windows
users.


Sven


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


Re: [Gimp-user] JPG file size increases with saving

2010-01-31 Thread Sven Neumann
On Mon, 2010-01-18 at 10:40 +0100, yahvuu wrote:
 Philip Rhoades wrote:
  It still seems counter intuitive that opening a JPG (even if it is a 
  photo rather than a computer generated image) and immediately saving it 
  with 100% quality increases the size by 2.5 . .

That is only non-intuitive because you are making the wrong assumption
that the JPEG quality was measured in percent. It isn't, it's just a
quality level that happens to have a range of 0 to 100. I suggest that
you read the JPEG FAQ, in particular the answer to question 5:

 http://www.faqs.org/faqs/jpeg-faq/part1/


Sven


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


Re: [Gimp-user] JPG file size increases with saving

2010-01-15 Thread Sven Neumann
Hi,

On Sat, 2010-01-16 at 05:27 +1100, Philip Rhoades wrote:

 I guess what is confusing is this:
 
 - there was a loss of information when the first JPG was saved in the 
 digital camera memory from the CCD
 
 - when the JPG is uncompressed by GIMP into RAM, there is no loss of 
 information (?)
 
 - when GIMP then saves the same image as a new JPG at 100% quality (I 
 would have thought that this meant not losing any more information), 
 that the second JPG would be compressed/created in much the same way as 
 the first and therefore would be about the same size . .

Actually, you get almost no further degradation if you save the image
again with the same settings that were used for the first save. The JPEG
plug-in even stores information in the image when the image is opened
and it will use that information to save it in the best possible way
when you save it again. Just leave all controls at their default values.

Note that I said almost. Of course the image will suffer a little. But
you won't get significantly better results if you increase the JPEG
quality or change other settings in the save dialog. You just get a
larger file.


Sven


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


Re: [Gimp-user] GIMP's gradients are not smooth?

2010-01-10 Thread Sven Neumann
On Sat, 2010-01-09 at 13:13 -0500, Anthony DiSante wrote:

 My monitor is not a CRT, but I think it's pretty good: it's a Samsung 2253BW 
 LCD, from 2008.  Not sure if this tells you much, but on this monitor I can 
 easily distinguish every shade in the color scale from dpreview.com:
 
 http://nodivisions.com/stuff/ext_posts/dpreview.com-color-scale.jpg
 
 But I don't think this is a monitor issue.  Here's an image of a gradient 
 that 
 I found on the web:
 
 http://nodivisions.com/stuff/ext_posts/smooth-gradient.jpg
 
 On my monitor, that looks extremely smooth: I need to blow it up to ~200% 
 before I see the striations, and even then they're nowhere near as rough 
 looking as in the gradient I created in GIMP.  Is that because this is a 
 color 
 gradient whereas my GIMP gradient is in gray?

Oh, are you trying to create this gradient on an image in gray-scale
mode? If you do that, then you are effectively disabling dithering.
Dithering works by introducing errors and the full RGB color-space is
needed for such dithering to yield the desired result.


Sven


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


Re: [Gimp-user] Reading sample point locations from Python-fu

2010-01-10 Thread Sven Neumann
On Sat, 2010-01-09 at 18:19 +0100, Mathias Lindner wrote:

 is it possible to read the location of sample points from Python?
 Just as you can e.g. read the anchor points of vectors.

No, there is no PDB API to access sample points (yet). If you need one,
I suggest that you make an API proposal on the gimp-developer list.


Sven


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


Re: [Gimp-user] Tip of the Day is not displayed each time

2010-01-10 Thread Sven Neumann
On Sat, 2010-01-09 at 22:06 +0100, Tetsuya Yuasa wrote:
 Hallo,
 
 I know from the online manual:
 http://docs.gimp.org/pl/gimp-tips-dialog.html
 The tip of the day is no longer displayed by default each time you start 
 GIMP.
 
 There is no problem so far.
 But I could not find any information how to use Tip dialog like previous 
 version.
 I want show the dialog each time I start GIMP.
 
 Maybe is it no longer possible to use in that way?

No, it isn't. We might add it back for GIMP 2.8, if someone finds the
time to do that. Until then you can read the tips by accessing the
dialog from the Help menu.

If you are interested in getting the tips dialog back, you should
consider sending us a patch. Please contact us on the gimp-developer
mailing-list if you are interested in such a contribution.


Sven


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


Re: [Gimp-user] Behaviour of gimp-layer-create-mask with channels

2010-01-10 Thread Sven Neumann
On Sun, 2010-01-10 at 11:51 +0100, Gino D wrote:

 I need some clarification on how the Script-Fu procedure
 gimp-layer-create-mask acts with channels.
 
 Supposing that the current image holds more than one channel, whether
 I wanted to call such procedure with its second argument mask-type
 set to ADD-CHANNEL-MASK (6) , how would the Script-Fu interpreter
 understand which channel to consider? Or rather, with what additional
 command should I specify the chosen channel? 

If in doubt, read the source code:

layer_cmds.c (layer_create_mask_invoker):

  if (mask_type == GIMP_ADD_CHANNEL_MASK)
{
  channel = gimp_image_get_active_channel (image);


The procedure will use the active channel. You can set the active
channel using gimp-image-set-active-channel().


Sven


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


Re: [Gimp-user] GIMP's gradients are not smooth?

2010-01-10 Thread Sven Neumann
Hi,

On Sat, 2010-01-09 at 13:13 -0500, Anthony DiSante wrote:

  http://nodivisions.com/stuff/ext_posts/gimp-unsmooth-gradient.jpg

 http://nodivisions.com/stuff/ext_posts/smooth-gradient.jpg

Not a fair comparison. Your unsmooth gradient has a much smaller range
than the image of the smooth gradient you are comparing it too. And you
ignore the fact that the smooth gradient is not a grayscale gradient.


Sven


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


Re: [Gimp-user] GIMP's gradients are not smooth?

2010-01-10 Thread Sven Neumann
On Sun, 2010-01-10 at 13:04 -0500, Anthony DiSante wrote:
 On 01/10/2010 05:22 AM, Sven Neumann wrote:
  On Sat, 2010-01-09 at 13:13 -0500, Anthony DiSante wrote:
  
  My monitor is not a CRT, but I think it's pretty good: it's a Samsung 
  2253BW 
  LCD, from 2008.  Not sure if this tells you much, but on this monitor I 
  can 
  easily distinguish every shade in the color scale from dpreview.com:
 
  http://nodivisions.com/stuff/ext_posts/dpreview.com-color-scale.jpg
 
  But I don't think this is a monitor issue.  Here's an image of a gradient 
  that 
  I found on the web:
 
  http://nodivisions.com/stuff/ext_posts/smooth-gradient.jpg
 
  On my monitor, that looks extremely smooth: I need to blow it up to ~200% 
  before I see the striations, and even then they're nowhere near as rough 
  looking as in the gradient I created in GIMP.  Is that because this is a 
  color 
  gradient whereas my GIMP gradient is in gray?
  
  Oh, are you trying to create this gradient on an image in gray-scale
  mode? 
 
 No, it's an RGB-mode image; it's just that the only colors I'm using in it 
 are 
 white and gray.
 
 
 On 01/10/2010 06:24 AM, Sven Neumann wrote:
   On Sat, 2010-01-09 at 13:13 -0500, Anthony DiSante wrote:
  
   http://nodivisions.com/stuff/ext_posts/gimp-unsmooth-gradient.jpg
  
   http://nodivisions.com/stuff/ext_posts/smooth-gradient.jpg
  
   Not a fair comparison. Your unsmooth gradient has a much smaller range
   than the image of the smooth gradient you are comparing it too.
  
 
 I don't think that's it either.  Here's the smooth one again, along with a 
 new 
 one created in GIMP with the same dimensions as the smooth one:
 
 http://nodivisions.com/stuff/ext_posts/smooth-gradient.jpg
 
 http://nodivisions.com/stuff/ext_posts/gimp-unsmooth-gradient-smaller.jpg
 
 That one's better, but still has more visible striations than the non-GIMP 
 image.
 
 Or by range are you referring to white-to-gray vs. white-to-blue?  Am I 
 running out of intermediate colors faster because white and gray are more 
 similar than white and blue?

Range was referring to the range of colors your gradient goes through.
Your start and end colors are very close to each other. So there is only
a very limited range of colors between them. That is different in the
smooth gradient you are comparing to. Its gradient covers a larger color
range.

I don't think you can substantially better results than what GIMP will
create for you. But if you are not happy about the result, feel free to
use different software or to patch GIMP to yield a better result.


Sven


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


Re: [Gimp-user] GIMP's gradients are not smooth?

2010-01-10 Thread Sven Neumann
Hi,

On Sun, 2010-01-10 at 09:32 -0600, mac9416 wrote:

 Anthony, is it absolutely necessary that you have a whitetransparency
 gradient layer over a background layer? I was able to eyedrop the
 center color and outer color and create a one-layer gradient that
 looks very smooth.
 
 I can't articulate why a one-layer gradient looks better than
 semi-transparent gradient over a background, but it certainly seems to
 be the case.
 
 http://mac9416.keryxproject.org/images/gimp-smooth-gradient.png
 http://mac9416.keryxproject.org/images/gimp-smooth-gradient.xcf.gz

Oh, if Anthony is blending a gradient over a background, then it's
absolutely not surprising that he gets visible banding. At least not
until GIMP starts to use higher bit-depths than 8bit per channel.


Sven


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


Re: [Gimp-user] GIMP's gradients are not smooth?

2010-01-09 Thread Sven Neumann
On Fri, 2010-01-08 at 22:05 -0500, Anthony DiSante wrote:

 Here are my files:
 
 http://nodivisions.com/stuff/ext_posts/gimp-unsmooth-gradient.jpg
 
 http://nodivisions.com/stuff/ext_posts/gimp-unsmooth-gradient.xcf.gz
 
 As you can see, there are obvious striations there, rather than a smooth 
 gradient.

On what display are you viewing these images? Your gradients only use a
small subset of the RGB color-space (about a few dozen colors). Most
modern displays are not able to render all the 16 million colors of the
24bit RGB color-space. Modern LCD panels, unless you spend a lot of
money, are limited to somewhat like 20 or 18 bits. So that will further
reduce the amount of colors used to display your gradients.

If you enable dithering and look at the results on a good monitor,
favorably a well-calibrated CRT, then the gradients should appear
reasonably smooth.


Sven


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


Re: [Gimp-user] DualCore or QuadCore for Gimp?

2010-01-07 Thread Sven Neumann
On Wed, 2010-01-06 at 16:52 -0700, Michael J. Hammel wrote:
 On Thu, 2010-01-07 at 00:55 +0100, Uwe Haider wrote:
  Runs Gimp with a quadcore or with an faster DualCore better? The system
  will run on Linux Gentoo with 64bit.
 
 Not sure it matters unless you happen to run a lot of other applications
 at the same time.  GIMP doesn't (to my knowledge) parallelize operations
 on multiple cores. 

That is not correct. GIMP does make use of multiple processors for quite
a few operations. And this is going to improve further while we migrate
to GEGL.


Sven


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


Re: [Gimp-user] full-screen mode on Mac OS X - selecting which monitor to use?

2010-01-07 Thread Sven Neumann
On Wed, 2010-01-06 at 22:19 -0500, Warren Baird wrote:

 I was very happy to see that when I recently upgrade to the most
 current gimp through ports on Mac OS X 10.6, I was able to
 successfully switch to fullscreen view - something I missed a lot from
 when I was working on Linux...
 
 However, I'm running with two monitors, and the gimp always seems to
 select my primary monitor for full screen mode, even though I'd rather
 it be on the secondary monitor, since it's somewhat higher resolution,
 and then the X11 menu isn't stealing screen space.

Shouldn't you be using a GIMP build that uses the native GTK+ Quartz
back-end instead of using X11? That might even fix your problem.

If you use ports to build GIMP yourself, try to uninstall gtk2 and then
'port install gtk2 +quartz before you build GIMP.


Sven


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


Re: [Gimp-user] DualCore or QuadCore for Gimp?

2010-01-07 Thread Sven Neumann
On Thu, 2010-01-07 at 15:41 -0700, Michael J. Hammel wrote:
 On Thu, 2010-01-07 at 23:16 +0100, Sven Neumann wrote:
   Not sure it matters unless you happen to run a lot of other applications
   at the same time.  GIMP doesn't (to my knowledge) parallelize operations
   on multiple cores. 
  
  That is not correct. GIMP does make use of multiple processors for quite
  a few operations. And this is going to improve further while we migrate
  to GEGL.
 
 Very cool.  I wasn't aware of that.  I learn something new every
 day.  :-)
 
 I'll have to look at that when I get home tonight since I've got a quad
 core there and lots of big project files to try.
 
 Is there any info on what types of operations make use of this?  If
 there are no docs on it, is there somewhere in the source I can scan for
 hints?

git grep pixel_regions_process_parallel


Sven


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


Re: [Gimp-user] separate the cursor from brush?

2010-01-06 Thread Sven Neumann
On Wed, 2010-01-06 at 14:55 -0500, Gracia M. Littauer wrote:
 Is it possible in gimp to separate the cursor from brush? It's very
 hard to edit a photo/graphic with the cursor in the way (on top od the
 brush). Electronic Arts' Deluxe Paint (the BEST ever draw program
 IMNSHO) had it...

Go to the Preferences dialog and change the cursor style?!


Sven


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


Re: [Gimp-user] Thumbnail Images are Larger then Originals

2010-01-06 Thread Sven Neumann
On Wed, 2010-01-06 at 14:42 -0600, Programmer In Training wrote:
 I need to read up on the GIMP documentation regarding PNG quality
 settings. Mine are apparently too high.

PNG is a lossless image format, it doesn't have any quality settings.
The only thing you can adjust is the compression factor. A higher
compression factor will result in the same image at smaller file size
traded in for longer compression and decompression times.


Sven


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


Re: [Gimp-user] Re : gimp brushes from abr ?

2009-12-31 Thread Sven Neumann
On Wed, 2009-12-30 at 22:37 +0100, Cédric Gémy wrote:
 Just put the .abr file in your $HOME/.gimp-2.6/brushes. Relaunch gimp
 and it might be OK.
 
 Unfortunately, i feel that Gimp is running much slower when such brush
 set are loaded. It seems to me that gimp loads them all at launch time.

That is correct. But this should only affect memory usage and start-up
time. So as long as you have enough RAM, more brushes shouldn't slow
GIMP down (except for the increased start-up time).

 Is there any caching that would allow to have them available but not
 loaded full-res until we need them ?

Lazy-loading of brushes and other resource files has been proposed
several times, but it was never fully implemented. There's a bug-report
about it and we are of course appreciating patches to implement this.


Sven


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


Re: [Gimp-user] gimp brushes from abr ?

2009-12-30 Thread Sven Neumann
On Wed, 2009-12-30 at 14:56 -0500, Helen wrote:

 I use gimp version 2.6.2. on linux, suse 11.1
 I downloaded a set of free brushes
 [ from
 http://www.4shared.com/file/161649638/dc2c1b74/_2__Tree_Brushes_Set-2.html  if
 anyone is interested ] and this gave me two files, one .abr and
 one .jpg
 I'm not sure I can recall every step I've tried, but nothing --
 unzipping, extracting, 
 etc.,-- has worked.
 Can someone help me figure out how to use these files as gimp brushes?

Just copy the .abr files to your GIMP brushes folder or add the path
where they are stored on your disk to the GIMP brushes search path. You
can lookup and edit the GIMP brushes search path in the Preferences
dialog.


Sven


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


Re: [Gimp-user] Copy and past between GIMP and external app on Windows

2009-12-28 Thread Sven Neumann
On Sun, 2009-12-27 at 17:09 +0100, Monique et Bernard Weill wrote:

 I am working on Windows XP, GIMP 2.6.7. like this:
 
 1- I scan an image in 300 dpi at his real size: A4 and obtain file in Jpeg 
 and/or Tif.
 2- I open the file in GIMP.
 3- I select part of the image and copy (Ctrl + C) the selection in the 
 Clipboard.
 
 And now my problem:
 Past (Ctrl V) on:
 - Gimp: the size of the copied selection is good (equal to the original size).
 - Microsoft program like Powerpoint or OO program like Draw or Inkscape: the 
 size is around multiply by 3!

But that is expected. You are copying the pixels over the clipboard.
This doesn't say anything about how these pixels are displayed in other
applications. Most applications will look at the print-size meta-data of
the image in order to determine at what size the image should be
displayed. But you are not copying this meta-information when you copy
and paste pixels between applications.

It should be fairly easy though to adjust the display size in the target
application.


Sven


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


Re: [Gimp-user] Alpha2 of Separate+ 0.5.6

2009-12-27 Thread Sven Neumann
On Sun, 2009-12-27 at 03:38 +0900, Yoshinori Yamakawa wrote:
 Clipping paths are supported(TIFF, JPEG and PSD).
  
 Source:
 http://sourceforge.jp/projects/separate-plus/releases/45080/ 
 
 Demonstration video:
 http://www.youtube.com/watch?v=BogZv7_8_0c

Looks nice. I wonder when you will eventually step forward and propose
patches to integrate the functionality from the separate plug-in for
inclusion in the GIMP source tree. Or would you prefer to keep this
development as a third-party plug-in forever?


Sven


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


Re: [Gimp-user] Page Setup paper size settings won't stay

2009-12-25 Thread Sven Neumann
On Fri, 2009-12-25 at 14:40 -0800, Michael F Uschold wrote:
 This is the sequence of events:
 
 1. I enter Page Setup, where the current page size is set to, say
 Letter
 2. I change the paper size to be 6x4
 3. I click OK.
 4. I enter Page Setup again.  The current page size is still Letter.
 It should have changed to 6x4.
 
 If I change the paper size to Legal, or some other size, it works. The
 margins settings also get saved correctly if I change them.
 
 There is something about 6x4 that it is choking on. Any hints?

https://bugzilla.gnome.org/show_bug.cgi?id=505123


Sven


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


Re: [Gimp-user] How I´ve losed a image.

2009-12-20 Thread Sven Neumann
On Sun, 2009-12-20 at 00:42 +0100, Pere Pujal i Carabantes wrote:

 How can I control the memory usage of The GIMP?

See http://www.gimp.org/unix/howtos/tile_cache.html


Sven


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


Re: [Gimp-user] How I´ve losed a image.

2009-12-20 Thread Sven Neumann
Hi,

On Sun, 2009-12-20 at 00:42 +0100, Pere Pujal i Carabantes wrote:

I supose that tweaking the different settings in environmet
 prefences, but I am not sure how to count it, should I sum max mem for
 undo to max mem for cache in order to get the maximum of memory I am
 allowing to The GIMP?

First of all, the program is called GNU Image Manipulation Program or
short GIMP, but not The GIMP.

Then, you need to understand that GIMP will use as much memory as it
needs to hold the image data and that includes undo. The amount of
memory used for undo can be limited in the Preferences. You can also
control how much of the pixel data is actually kept in virtual memory
(that's RAM and swap) by setting the size of the tile-cache. Pixel data
that doesn't fit into the tile-cache will have to be swapped out to a
file. Use of such a swap-file will slow things down dramatically. Up to
the point where any operation that needs access to all data (such as
saving your images) takes very long.


Sven


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


Re: [Gimp-user] Is this a bug? Setting image w/corrupted icc profile to sRGB; plugin dies

2009-12-19 Thread Sven Neumann
On Fri, 2009-12-18 at 18:09 -0500, Jay Smith wrote:

 I am afraid I am not 100% following what you are saying.  Perhaps I
 miscommunicated.  Or perhaps I am just not filling in assumed knowledge
 well enough.
 
 I want to use Gimp as an image editor.

Well, you say that you want to process thousands of images. Then GIMP is
the wrong tool for the job.

 b) I would like to find a method to remove color profile parasites on
 thousands of images, via the command line.  You have suggested trying
 tifftopnm | pnmtotiff do to this.  I will experiment with that, but I
 have a concern as noted below.
 
 Based on your most recent recommendation, I looked at
   http://netpbm.sourceforge.net/doc/tifftopnm.html
 and I am not sure how this helps me, unless you are suggesting to
 ROUNDTRIP using these two programs.

But that is exactly the same thing that happens when you open a TIFF
file in GIMP and save it again. The pixel data is loaded into GIMP and
your file is not any longer a TIFF file then, it is a collection of
pixels, let's call it an image. Then when you save it as TIFF again,
this collection of pixels is encoded as a TIFF file. Pretty much exactly
what tifftopnm | pnmtotiff is doind.

 However, I noted it said [below] that theoretically you can lose
 information in certain cases.  I have no idea if my images would be
 affected by that.
 
 The PNM output has the same maxval as the Tiff input, except that if
 the Tiff input is colormapped (which implies a maxval of 65535) the PNM
 output has a maxval of 255. Though this may result in lost information,
 such input images hardly ever actually have more color resolution than a
 maxval of 255 provides and people often cannot deal with PNM files that
 have maxval  255. By contrast, a non-colormapped Tiff image that
 doesn't need a maxval  255 doesn't have a maxval  255, so when
 tifftopnm sees a non-colormapped maxval  255, it takes it seriously and
 produces a matching output maxval. Another exception is where the TIFF
 maxval is greater than 65535, which is the maximum allowed by the Netpbm
 formats. In that case, tifftopnm uses a maxval of 65535, and you lose
 some information in the conversion.

Since GIMP doesn't support a maxval  255, you would more likely lose
information if you used GIMP for this.


Sven


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


Re: [Gimp-user] Preventing selections and such from flagging the image as modified

2009-12-18 Thread Sven Neumann
On Fri, 2009-12-18 at 19:48 +0100, Deniz Dogan wrote:
 Whenever I click with the selection tool in an image GIMP regards the
 image as edited. I'm assuming there is a reason for this, but is there
 any way to turn this feature off?

No. The selection mask is part of the image and if you modify it, then
the image is modified and flagged dirty.


Sven


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


Re: [Gimp-user] Is this a bug? Setting image w/corrupted icc profile to sRGB; plugin dies

2009-12-18 Thread Sven Neumann
On Fri, 2009-12-18 at 11:56 -0500, Jay Smith wrote:

 I _do_ have a saved sample corrupted image file if anybody needs this
 for testing purposes.
 
 Is this a bug?  Is it known?  Should I post on the developer list?
 Should I put it in bugzilla?

Your files are corrupt. You can't possibly expect GIMP to fix them. Of
course if you really care, you could probably write some code that is
capable of dealing with your broken files and that may even be able to
fix them. But don't expect this work to be done by someone else for you.


Sven


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


Re: [Gimp-user] Is this a bug? Setting image w/corrupted icc profile to sRGB; plugin dies

2009-12-18 Thread Sven Neumann
Hi,

On Fri, 2009-12-18 at 14:33 -0500, Jay Smith wrote:

 If I were a developer, with the necessary skills, I would be curious
 about what was killing off the plugin and why the plugin dieing
 (especially when it was just trying to open a dialog and had not
 actually attempted to take action on the image yet) would leave the
 whole program in a potentially unstable state.

The message that tells you about the dying plug-in is just a general
dialog. It says that GIMP 'might' have been left in an unstable state.
In general this is not the case and there's nothing to worry about
here. 

I have written the plug-in that crashed, and I can tell what's most
likely going wrong, without having a look at the code or your broken
image. The assumption that the plug-in would not have accessed the image
before it opens the dialog is wrong, since the plug-in needs to read the
color profile from the image in order to present information about the
current color profile to the user. If the attached profile is corrupt,
then it may crash at this point. I don't really care about fixing this
for all sorts of corrupt input data. Such a fix would most likely
introduce regressions and would make the code much more difficult to
read and maintain.

You can probably get the plug-in to do its job of removing the attached
color profile by calling the plug-in procedure non-interactively. Or you
could simply remove the icc-profile parasite from the image.


Sven


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


Re: [Gimp-user] Is this a bug? Setting image w/corrupted icc profile to sRGB; plugin dies

2009-12-18 Thread Sven Neumann
Hi,

On Fri, 2009-12-18 at 15:39 -0500, Jay Smith wrote:

 By the way, if possible, I would like to do this parasite removal on
 tens of thousands of files.  Perhaps as the 'exec' of a 'find' command.

I don't understand why you are even considering to use GIMP then. If all
you care about is the image data, then a simple tifftopnm | pnmtotiff
will probably do the trick.


Sven




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


Re: [Gimp-user] Coloir picker and colour balance

2009-12-12 Thread Sven Neumann
On Fri, 2009-12-11 at 15:51 +, Francesco Scaglioni wrote:

 Please forgive me if this is a stupid question as am new to
 the whole colour management thing.  I have downloaded what
 purports to be an sRGB colour checker image in png format
 along with the list of RGB values that should be represented
 in each square. If I use the colour picker and its info
 window then when a given colour patch is clicked the info
 window reports RGB values that are at most 1 or 2 away from
 what the table suggests they should be.  Is the picker
 reporting what it expects to find or is it reporting what
 is actually being displayed by my monitor.

The color picker doesn't care about your monitor nor does it make any
expectations. It looks at the image pixel values and that's it.


Sven


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


Re: [Gimp-user] Tip of the day

2009-12-01 Thread Sven Neumann
On Tue, 2009-12-01 at 14:09 +1030, Michaela Baulderstone wrote:
 What's the chances the tip of the day could come as an automated daily email
 via this gimp-user list?
 
 Just an idea,

Well, not such a nice idea, because certainly not everyone subscribed
here would want to get such an automated email. But if you want one,
there is hardly anything simpler than setting up a script that parses
the gimp-tips.xml file as found in the GIMP source tree and sends
yourself such an email once a day. Have fun.


Sven


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


Re: [Gimp-user] Tip of the day

2009-11-28 Thread Sven Neumann
On Sat, 2009-11-28 at 16:35 +, Greg Chapman wrote:
 On 28 Nov 09 15:38 Norman Silverstone nor...@littletank.org said:
  To my disappointment, the button to switch the tip on and off is no 
  longer in the tip window. What do I need to do to get the tip to 
  appear each time I activate GIMP, please. I am using GIMP 2.6.7 and 
  Ubuntu 9.10.
 
 You are not alone.
 
 The same massively retrograde step was taken in the Windows 
 implementation too!

There is no such thing as a Windows implementation. The same code is
used on all platforms.

The Tips of the Day can only be read from the Help menu currently. There
is no way to make it appear on startup.


Sven


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


Re: [Gimp-user] Tip of the day

2009-11-28 Thread Sven Neumann
On Sat, 2009-11-28 at 21:15 +, Greg Chapman wrote:
  
  The Tips of the Day can only be read from the Help menu currently. 
  There is no way to make it appear on startup.
 
 That, indeed is the complaint, along with:
 
 # There's no way to stop it appearing on start up (Having turned it 
 on).

Sorry, but how do you make it appear on start up?

 # There's no close button, so that once open you need to use a title 
 bar button.
 
 Put together, I'd say that completely breaks all the conventions for 
 how a Tip of the Day should behave, not to mention, a user interface
 convention.
 
 No idea why that had to happen, but it's almost at the stage where I 
 say it might have been better to take it out all together, or just 
 placed all the tips, on a single conventional help page.

As you can see in the UI specifications for GIMP 2.6, the tips were
supposed to be available prominently from the image window:
http://gui.gimp.org/index.php/No_image_open_specification#inside_the_.E2.80.98no_image.E2.80.99_window

Unfortunately no one got around to implement this detail of the
specification. If it bothers you enough to speak up on this
mailing-list, why don't you make a patch that we can use for GIMP 2.8?


Sven


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


Re: [Gimp-user] minimize the main toolbox?

2009-11-24 Thread Sven Neumann
Hi,

there are a lot of useful hints in the Tips of the Day dialog, hidden
in the Help menu. Perhaps you guys want to enable the Tips of the Day
feature and learn some more nice things about GIMP. One of the tips
would have been this one:

   If your screen is too cluttered, you can press Tab in an image
   window to toggle the visibility of the toolbox and other dialogs.


Sven


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


Re: [Gimp-user] How do I create smooth diagonal lines

2009-11-16 Thread Sven Neumann
On Mon, 2009-11-16 at 04:21 +0100, bob wrote:
 Hi all.
 
 How do I create smooth diagonal lines ?
 
 I've been experimenting with creating various aesthetics for an online
 portfolio. Here is the result of one such experiment:
 
 http://imgur.com/e7iaj
 
 I created the shape of the navigation container image with the pen tool. I
 turned the resulting path into a selection, and then applied various fills,
 gradients and layer effects.

Did you try to stroke the path? That gives much better results than
converting the path to a selection.


Sven


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


Re: [Gimp-user] GIMP and surface blur (from PS)

2009-11-14 Thread Sven Neumann
On Sat, 2009-11-14 at 20:50 +0100, Tadas wrote:
 Hello,
 Could you tell me if it's possible to make something like blurring image
 using surface blur (in PS4)filter  in GIMP? I didn't find anything similar
 in GIMP filters so maybe there is a plug-in which lets to do it?
 Surface blur is the filter which I was using in PS4 to automatically blur out
 of focus areas (it reduces noise much better than other filters for me) and
 not to blur sharp areas. I liked it because noise reduction filter blurred
 everything and I wanted to have still sharp image with reduced noise. But now
 I'm GIMP user. :) Everything is pretty good here, but surface blur is the
 function I miss. So I would be very grateful if you tell me if it's available
 in GIMP as plug-in or I simply don't find that function in GIMP.

The Selective Gaussian Blur plug-in might be able to provide a similar
result ( see http://docs.gimp.org/en/filters-blur.html ).


Sven


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


Re: [Gimp-user] Gimp 2.7 Install on Centos

2009-11-07 Thread Sven Neumann
On Sat, 2009-11-07 at 09:41 +0100, Greg S. wrote:
 Hi all,
 
 The error message below was generated when I tried to configure gegl. I have
 installed glib-2.22.2
 
 Has anyone got any ideas please.
 
 
 *** 'pkg-config --modversion glib-2.0' returned 2.22.2, but GLIB (2.12.3)
 *** was found! If pkg-config was correct,

Just read the full error messages. It tells you what to do. If you need
more help, please read the pkg-config manual page.


Sven


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


Re: [Gimp-user] Font scaling looks choppy

2009-11-01 Thread Sven Neumann
On Sun, 2009-11-01 at 11:00 -0500, vr wrote:
 I'm working with scratchy looking fonts trying to give them something to
 stand out.
 
 I create a transparent canvas about 348x67 then pick a font, select white
 for the color, and set the font at around 34. Then using the scale tool I
 stretch the text to fill more of the canvas space. Then I right click the
 text layer and alpha to selection. Then I select - grow selection by 3.
 Then I use the bucket tool to fill the 3 pixel region with black.

It's better to adjust the font size of the text layer using the text
tool than to scale it. Adjusting the font size will cause text to be
re-rendered at the given size.


Sven


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


Re: [Gimp-user] gimp-image-set-unit ineffective on 2.67 for windows

2009-11-01 Thread Sven Neumann
On Sun, 2009-11-01 at 18:38 +, Alan Campbell wrote:
 Hi,
 
 I'm trying to get a script to generate an image with default units 
 (as displayed in status bar at bottom of image window)
 to be mm instead of pixels. My script does

The units displayed in the status bar are the image's display units. The
display unit is different from the image unit and it can only be changed
by the user, not by a script.


Sven


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


Re: [Gimp-user] PNG file gamma again. Bug in png save?

2009-10-30 Thread Sven Neumann
On Fri, 2009-10-30 at 12:14 +0200, Juhana Sadeharju wrote:
 GIMP saves the file gamma 0.4545 even if I uncheck its saving
 in PNG save dialog.
 
 Both checked and unchecked will save the gamma 0.4545.
 xloadimage shows both saves equally dark, with wrong intensities.
 
 Version: GNU Image Manipulation Program version 2.4.5

That is rather old and not any longer maintained. Can you update to
2.6.7 and try again?


Sven


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


Re: [Gimp-user] How do I copy a color to the foreground ?

2009-10-06 Thread Sven Neumann
On Tue, 2009-10-06 at 19:04 +0200, petropolis wrote:
 How do I copy a color in my image to the foreground so I can draw with it? I
 want to use the brush to cover over a bunch of my image. Thanks.

Probably the easiest way is to Ctrl-Click on the image with one of the
paint tools.


Sven


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


Re: [Gimp-user] File gamma 0.4545? And pnmtopng.

2009-09-30 Thread Sven Neumann
Hi,

On Wed, 2009-09-30 at 20:53 +0300, Juhana Sadeharju wrote:
 What an earth. I found that GIMP has placed file gamma 0.4545
 to PNG images without my will.
 
 $ xloadimage x.png
 x.png is 1120x840 PNG image, color type RGB, 8 bit, file gamma 0.4545

As far as I know PNG expects the gamma to be set to the gamma correction
of the PNG file based on the screen gamma i.e. the display exponent.
That would be 1/gamma then. GIMP sets the gamma value 2.2, which is the
gamma value for the sRGB color space.

 How to configure GIMP to not set the file gamma?

Do not check the checkbox labeled Save gamma in the PNG save dialog.


Sven


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


Re: [Gimp-user] brush precision

2009-09-28 Thread Sven Neumann
On Mon, 2009-09-28 at 12:08 +, Gary Collins wrote:
 
 some time ago there was a thread about changing the brush icon between
 showing the brush size and a precise crosshair. I can't seem to locate
 that thread, but if I remember rightly it was suggested that the
 change should happen at mouse-click, or when holding the mouse button
 down.
  
 Now I've just discovered, quite fortuitiously, that in photoshop (at
 least in Elements 2, so presumably also in PS7, on which the elements
 code was based) that you can toggle between these icons (i.e. brush
 outline vs. crosshair) using the caps-lock key.
  
 Maybe that might be a good idea for GIMP also?

Maybe you should post that suggestion to the gimp-developer list. There
was a discussion about the brush outline recently and your suggestion
might turn out to be useful for that.


Sven


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


Re: [Gimp-user] Can't move guides

2009-09-28 Thread Sven Neumann
On Mon, 2009-09-21 at 14:55 -0700, Patrick Horgan wrote:
 Lately when I'm in move mode and move my cursor over guides they don't 
 get red and I can't move them.  Any attempt just moves the layer.  I'm 
 assuming a user interface change happened, so, what's the new way to 
 move guides?

Look at the Move tool options. Do you have the tool set to Pick a layer
or guide ?


Sven


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


Re: [Gimp-user] How do I increase the size of the little preview window ...

2009-09-18 Thread Sven Neumann
On Fri, 2009-09-18 at 10:13 -0700, Ken Warner wrote:
 When I use filters like the unsharp mask or other plugins, a little 
 preview window pops up
 and I can see the effect of the settings for that particular filter. 
 
 Is there a way to make that preview window bigger?  I have a very fast 
 machine and it can
 handle it.

Just put something like this into your gtkrc:

#
# Adjust the size of previews in plug-in dialogs:
#
style gimp-large-preview
{
  GimpPreview::size = 400   
 
}

class GimpPreview style gimp-large-preview  
 


Sven



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


Re: [Gimp-user] Scaled image larger in file size than original

2009-09-17 Thread Sven Neumann
Hi,

 I took KSnapshot out of the picture, and took the screenshot with Gimp,
 saved it as a png. The file size was 35k. I scaled the image by 50%
 and saved it as a new png. The file size was 44k.
 
 I reduced the file by 50% using imageMagick and the file size was 71k.
 
 convert file1.png -resize 50% file3.png
 
 I did an imagemagick identify on file2 (44k) and file3 (71k), and they
 both display the dimensions as 340x272.
 
 The image is a snapshot of the body of the KDE Kate editor, which is
 mostly text.

Oh, then the answer is simple. The scaled-down version compresses not as
good as the original size. PNG uses run-length compression, which works
very nicely on graphics that have areas of solid colors. By scaling down
the image, you make the image less suitable for this kind of
compression.


Sven


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


Re: [Gimp-user] Scaled image larger in file size than original

2009-09-17 Thread Sven Neumann
Hi,

On Thu, 2009-09-17 at 20:13 +, ern...@comcast.net wrote:

  PNG uses run-length compression,
 
 The compression is lossless, but it's not run-length.  PNG uses an LZ77
 derivative.

Thanks for the correction.


Sven


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


  1   2   3   4   5   6   7   8   9   10   >